fix(ghidra): resolve secondary symbols at function entries (#1195)

* fix(ghidra): resolve secondary symbols at function entries

* test(ghidra): derive interior bytes from decoded instructions
This commit is contained in:
Ysopwnable
2026-10-09 12:19:07 +08:00
committed by GitHub
parent f36c10f9e8
commit 6fbdbd6820
7 changed files with 193 additions and 4 deletions
+3
View File
@@ -128,6 +128,9 @@ an explicit `0x` or address-space prefix selects an address; otherwise an exact
database symbol name takes precedence over a bare hexadecimal address. Thus a
function renamed to `dead` remains selectable by name. Use the names returned
by the inventory, including their namespaces and any platform symbol prefix.
Ghidra also accepts secondary symbols at a function entry, such as an imported
`_main` label. A label inside a function is not a procedure-name selector; use
its address when selecting the containing function.
Overloads can share a fully qualified name; ambiguity errors return every
matching entry address so the caller can select the intended function directly.