mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Make sure EquateSymbols are locked
This commit is contained in:
parent
1f5812f2d5
commit
fdf7121cc7
1 changed files with 6 additions and 0 deletions
|
@ -1969,6 +1969,12 @@ void ScopeInternal::clearUnlocked(void)
|
|||
if (sym->isSizeTypeLocked())
|
||||
resetSizeLockType(sym);
|
||||
}
|
||||
else if (sym->getCategory() == 1) {
|
||||
// Note we treat EquateSymbols as locked for purposes of this method
|
||||
// as a typelock (which traditionally prevents a symbol from being cleared)
|
||||
// does not make sense for an equate
|
||||
continue;
|
||||
}
|
||||
else
|
||||
removeSymbol(sym);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue