mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5374 Corrected ELF Import bug which failed to pin absolute symbols
and reported an Object Delete error
This commit is contained in:
parent
77bd0c526e
commit
7d3b5e17d9
1 changed files with 1 additions and 1 deletions
|
@ -3581,7 +3581,7 @@ class ElfProgramBuilder extends MemorySectionResolver implements ElfLoadHelper {
|
||||||
SymbolTable symbolTable = program.getSymbolTable();
|
SymbolTable symbolTable = program.getSymbolTable();
|
||||||
Symbol sym = symbolTable.createLabel(addr, name, namespace, SourceType.IMPORTED);
|
Symbol sym = symbolTable.createLabel(addr, name, namespace, SourceType.IMPORTED);
|
||||||
if (isPrimary) {
|
if (isPrimary) {
|
||||||
checkPrimary(sym);
|
sym = checkPrimary(sym);
|
||||||
}
|
}
|
||||||
if (pinAbsolute && !sym.isPinned()) {
|
if (pinAbsolute && !sym.isPinned()) {
|
||||||
sym.setPinned(true);
|
sym.setPinned(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue