mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
Use correct namespace in LocalSymbolMap
This commit is contained in:
parent
0d9e25548a
commit
84e4b8c6fe
5 changed files with 27 additions and 24 deletions
|
@ -2479,7 +2479,7 @@ ProtoParameter *ProtoStoreSymbol::setInput(int4 i, const string &nm,const Parame
|
|||
}
|
||||
}
|
||||
if (res->sym == (Symbol *)0) {
|
||||
if (scope->discoverScope(pieces.addr,pieces.type->getSize(),usepoint) != scope)
|
||||
if (scope->discoverScope(pieces.addr,pieces.type->getSize(),usepoint) == (Scope *)0)
|
||||
usepoint = restricted_usepoint;
|
||||
res->sym = scope->addSymbol(nm,pieces.type,pieces.addr,usepoint)->getSymbol();
|
||||
scope->setCategory(res->sym,0,i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue