mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
HighSymbol support for isThis and isHidden properties
This commit is contained in:
parent
db139d2b81
commit
bcc0f7fe38
3 changed files with 73 additions and 3 deletions
|
@ -362,6 +362,8 @@ void Symbol::saveXmlHeader(ostream &s) const
|
|||
a_v_b(s,"hiddenretparm",true);
|
||||
if ((dispflags&isolate)!=0)
|
||||
a_v_b(s,"merge",false);
|
||||
if ((dispflags&is_this_ptr)!=0)
|
||||
a_v_b(s,"thisptr",true);
|
||||
int4 format = getDisplayFormat();
|
||||
if (format != 0) {
|
||||
s << " format=\"";
|
||||
|
@ -461,6 +463,10 @@ void Symbol::restoreXmlHeader(const Element *el)
|
|||
if (xml_readbool(el->getAttributeValue(i)))
|
||||
flags |= Varnode::typelock;
|
||||
}
|
||||
else if (attName == "thisptr") {
|
||||
if (xml_readbool(el->getAttributeValue(i)))
|
||||
dispflags |= is_this_ptr;
|
||||
}
|
||||
break;
|
||||
case 'v':
|
||||
if (attName == "volatile") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue