mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Check original name in IsolateVariableTask
This commit is contained in:
parent
a3988a7db2
commit
cbcfaf54fa
4 changed files with 29 additions and 34 deletions
|
@ -1252,9 +1252,10 @@ void ScopeLocal::recoverNameRecommendationsForSymbols(void)
|
|||
if (vn == (Varnode *)0) continue;
|
||||
sym = vn->getHigh()->getSymbol();
|
||||
if (sym == (Symbol *)0) continue;
|
||||
if ((sym->getFlags() & Varnode::addrtied)!=0)
|
||||
continue; // Cannot use untied varnode as primary map for address tied symbol
|
||||
SymbolEntry *entry = sym->getFirstWholeMap();
|
||||
if (entry->getAddr() != addr)
|
||||
continue;
|
||||
// entry->getAddr() does not need to match address of the recommendation
|
||||
if (entry->getSize() != size) continue;
|
||||
}
|
||||
if (!sym->isNameUndefined()) continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue