Package ghidra.program.model.pcode
Class DynamicSymbol
- java.lang.Object
-
- ghidra.program.model.pcode.HighSymbol
-
- ghidra.program.model.pcode.DynamicSymbol
-
- Direct Known Subclasses:
EquateSymbol
public class DynamicSymbol extends HighSymbol
Decompiler symbol whose references are encoded as dynamic hashes into the PcodeSyntaxTree
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DynamicSymbol.Entry
-
Constructor Summary
Constructors Constructor Description DynamicSymbol()
DynamicSymbol(java.lang.String nm, DataType tp, int size, HighFunction func, Address addr, long hash, int format)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addReference(Address addr, long hash, int format)
protected void
buildHashXML(java.lang.StringBuilder buf)
static java.lang.String
buildSymbolXML(PcodeDataTypeManager dtmanage, java.lang.String nm, DataType dt, int length, boolean tl, boolean nl, boolean ro, boolean isVolatile, int format)
java.lang.String
buildXML()
long
getHash()
int
restoreXML(XmlPullParser parser, HighFunction func)
-
Methods inherited from class ghidra.program.model.pcode.HighSymbol
buildMapSymXML, buildRangelistXML, getDataType, getHighFunction, getHighVariable, getName, getPCAddress, getSize, isNameLocked, isReadOnly, isTypeLocked, parseRangeList, restoreSymbolXML, setHighVariable, setNameLock, setReadOnly, setTypeLock
-
-
-
-
Constructor Detail
-
DynamicSymbol
public DynamicSymbol()
-
DynamicSymbol
public DynamicSymbol(java.lang.String nm, DataType tp, int size, HighFunction func, Address addr, long hash, int format)
-
-
Method Detail
-
getHash
public long getHash()
-
addReference
public void addReference(Address addr, long hash, int format)
-
buildHashXML
protected void buildHashXML(java.lang.StringBuilder buf)
-
buildXML
public java.lang.String buildXML()
- Specified by:
buildXML
in classHighSymbol
-
restoreXML
public int restoreXML(XmlPullParser parser, HighFunction func) throws PcodeXMLException
- Specified by:
restoreXML
in classHighSymbol
- Throws:
PcodeXMLException
-
buildSymbolXML
public static java.lang.String buildSymbolXML(PcodeDataTypeManager dtmanage, java.lang.String nm, DataType dt, int length, boolean tl, boolean nl, boolean ro, boolean isVolatile, int format)
-
-