mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 15:55:38 +08:00
GP-5681: Relocating Mach-O got entries with no symbols to the EXTERNAL
block
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ public class MachoExtractProgramBuilder extends MachoProgramBuilder {
|
||||
// location to the newly exported function
|
||||
Function func = funcManager.getFunctionAt(sym.getAddress());
|
||||
if (func != null && func.getThunkedFunction(false) != null) {
|
||||
func.setThunkedFunction(createOneByteFunction(name, exportAddr));
|
||||
func.setThunkedFunction(createOneByteFunction(program, name, exportAddr));
|
||||
|
||||
// Remove the external location associated with the thunk function.
|
||||
// After the first delete, the external location becomes an external label, which
|
||||
|
||||
Reference in New Issue
Block a user