mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Decompiler support for offset/relative pointers
This commit is contained in:
parent
513c9beb9d
commit
cce187a4c5
18 changed files with 746 additions and 174 deletions
|
@ -2147,6 +2147,7 @@ void ScopeInternal::setAttribute(Symbol *sym,uint4 attr)
|
|||
attr &= (Varnode::typelock | Varnode::namelock | Varnode::readonly | Varnode::incidental_copy |
|
||||
Varnode::nolocalalias | Varnode::volatil | Varnode::indirectstorage | Varnode::hiddenretparm);
|
||||
sym->flags |= attr;
|
||||
sym->checkSizeTypeLock();
|
||||
}
|
||||
|
||||
void ScopeInternal::clearAttribute(Symbol *sym,uint4 attr)
|
||||
|
@ -2155,6 +2156,7 @@ void ScopeInternal::clearAttribute(Symbol *sym,uint4 attr)
|
|||
attr &= (Varnode::typelock | Varnode::namelock | Varnode::readonly | Varnode::incidental_copy |
|
||||
Varnode::nolocalalias | Varnode::volatil | Varnode::indirectstorage | Varnode::hiddenretparm);
|
||||
sym->flags &= ~attr;
|
||||
sym->checkSizeTypeLock();
|
||||
}
|
||||
|
||||
void ScopeInternal::setDisplayFormat(Symbol *sym,uint4 attr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue