Package ghidra.program.model.pcode
Class EquateSymbol
- java.lang.Object
-
- ghidra.program.model.pcode.HighSymbol
-
- ghidra.program.model.pcode.DynamicSymbol
-
- ghidra.program.model.pcode.EquateSymbol
-
public class EquateSymbol extends DynamicSymbol
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ghidra.program.model.pcode.DynamicSymbol
DynamicSymbol.Entry
-
-
Field Summary
Fields Modifier and Type Field Description static int
FORMAT_BIN
static int
FORMAT_CHAR
static int
FORMAT_DEC
static int
FORMAT_DEFAULT
static int
FORMAT_HEX
static int
FORMAT_OCT
-
Constructor Summary
Constructors Constructor Description EquateSymbol()
EquateSymbol(int conv, long val, HighFunction func, Address addr, long hash, int format)
EquateSymbol(java.lang.String nm, long val, HighFunction func, Address addr, long hash, int format)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
buildSymbolXML(PcodeDataTypeManager dtmanage, java.lang.String nm, long value, boolean nl, boolean isVolatile, int convert)
java.lang.String
buildXML()
static int
convertName(java.lang.String nm, long val)
long
getValue()
int
restoreXML(XmlPullParser parser, HighFunction func)
-
Methods inherited from class ghidra.program.model.pcode.DynamicSymbol
addReference, buildHashXML, buildSymbolXML, getHash
-
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
-
-
-
-
Field Detail
-
FORMAT_DEFAULT
public static final int FORMAT_DEFAULT
- See Also:
- Constant Field Values
-
FORMAT_HEX
public static final int FORMAT_HEX
- See Also:
- Constant Field Values
-
FORMAT_DEC
public static final int FORMAT_DEC
- See Also:
- Constant Field Values
-
FORMAT_OCT
public static final int FORMAT_OCT
- See Also:
- Constant Field Values
-
FORMAT_BIN
public static final int FORMAT_BIN
- See Also:
- Constant Field Values
-
FORMAT_CHAR
public static final int FORMAT_CHAR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EquateSymbol
public EquateSymbol()
-
EquateSymbol
public EquateSymbol(java.lang.String nm, long val, HighFunction func, Address addr, long hash, int format)
-
EquateSymbol
public EquateSymbol(int conv, long val, HighFunction func, Address addr, long hash, int format)
-
-
Method Detail
-
getValue
public long getValue()
-
restoreXML
public int restoreXML(XmlPullParser parser, HighFunction func) throws PcodeXMLException
- Overrides:
restoreXML
in classDynamicSymbol
- Throws:
PcodeXMLException
-
buildXML
public java.lang.String buildXML()
- Overrides:
buildXML
in classDynamicSymbol
-
buildSymbolXML
public static java.lang.String buildSymbolXML(PcodeDataTypeManager dtmanage, java.lang.String nm, long value, boolean nl, boolean isVolatile, int convert)
-
convertName
public static int convertName(java.lang.String nm, long val)
-
-