mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Convert to Scope ids
This commit is contained in:
parent
97b04cac7e
commit
7c0b21f0dc
17 changed files with 394 additions and 327 deletions
|
@ -325,14 +325,12 @@ Translate *ArchitectureGhidra::buildTranslator(DocumentStorage &store)
|
|||
return new GhidraTranslate(this);
|
||||
}
|
||||
|
||||
Scope *ArchitectureGhidra::buildGlobalScope(void)
|
||||
Scope *ArchitectureGhidra::buildDatabase(DocumentStorage &store)
|
||||
|
||||
{
|
||||
Scope *globalscope = symboltab->getGlobalScope();
|
||||
if (globalscope == (Scope *)0) { // Make sure global scope exists
|
||||
globalscope = new ScopeGhidra(this);
|
||||
symboltab->attachScope(globalscope,(Scope *)0);
|
||||
}
|
||||
symboltab = new Database(this,false);
|
||||
Scope *globalscope = new ScopeGhidra(this);
|
||||
symboltab->attachScope(globalscope,(Scope *)0);
|
||||
return globalscope;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue