mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Refactor TypeStruct and TypeCode restoration
This commit is contained in:
parent
c53334038d
commit
e4451fcd49
10 changed files with 204 additions and 145 deletions
|
@ -1591,7 +1591,7 @@ void PrintC::pushConstant(uintb val,const Datatype *ct,
|
|||
clear();
|
||||
throw LowlevelError("Cannot have a constant of type void");
|
||||
case TYPE_PTR:
|
||||
case TYPE_PTRSTRUCT:
|
||||
case TYPE_PTRREL:
|
||||
if (option_NULL&&(val==0)) { // A null pointer
|
||||
pushAtom(Atom(nullToken,vartoken,EmitXml::var_color,op,vn));
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue