Skip to content

Fix parameter order for Ghidra#186

Merged
mahaloz merged 2 commits intobinsync:mainfrom
FuturesLab:main
Mar 12, 2026
Merged

Fix parameter order for Ghidra#186
mahaloz merged 2 commits intobinsync:mainfrom
FuturesLab:main

Conversation

@hecarson
Copy link
Contributor

When using Ghidra in headless mode to decompile functions, the mapping of parameter indices to FunctionArguments in FunctionHeader.args can be out of order. This is because LocalSymbolMap.getSymbols in Ghidra is backed by a HashMap, and this can be fixed by using LocalSymbolMap.getNumParams and LocalSymbolMap.getParamSymbol.

@mahaloz mahaloz merged commit 0c44f98 into binsync:main Mar 12, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants