HighSymbol support for isThis and isHidden properties

This commit is contained in:
caheckman 2020-07-24 13:15:22 -04:00
parent db139d2b81
commit bcc0f7fe38
3 changed files with 73 additions and 3 deletions

View file

@ -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") {