mirror of
https://github.com/Maschell/GhidraRPXLoader.git
synced 2024-11-15 04:45:08 +01:00
Set the address to the external functions/locations to null to fix the "Go to External Location" features for imports
This commit is contained in:
parent
9d4a4fdcfb
commit
9930b34783
@ -89,10 +89,10 @@ public class Cafe_ElfExtension extends ElfExtension {
|
|||||||
elfLoadHelper.createSymbol(address, name, true, elfSymbol.isAbsolute(), null);
|
elfLoadHelper.createSymbol(address, name, true, elfSymbol.isAbsolute(), null);
|
||||||
|
|
||||||
if (elfSymbol.isFunction()) {
|
if (elfSymbol.isFunction()) {
|
||||||
program.getExternalManager().addExtFunction(rplName, name, address,
|
program.getExternalManager().addExtFunction(rplName, name, null,
|
||||||
SourceType.IMPORTED);
|
SourceType.IMPORTED);
|
||||||
} else if (elfSymbol.isObject()) {
|
} else if (elfSymbol.isObject()) {
|
||||||
program.getExternalManager().addExtLocation(rplName, name, address,
|
program.getExternalManager().addExtLocation(rplName, name, null,
|
||||||
SourceType.IMPORTED);
|
SourceType.IMPORTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user