Package ghidra.program.model.pcode
Class HighSymbol
- java.lang.Object
-
- ghidra.program.model.pcode.HighSymbol
-
- Direct Known Subclasses:
DynamicSymbol
,MappedSymbol
public abstract class HighSymbol extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HighSymbol()
HighSymbol(java.lang.String nm, DataType tp, int sz, Address pc, HighFunction func)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static void
buildMapSymXML(java.lang.StringBuilder res, java.lang.String addrHashRes, Address pc, java.lang.String sym)
static void
buildRangelistXML(java.lang.StringBuilder res, Address pc)
abstract java.lang.String
buildXML()
DataType
getDataType()
HighFunction
getHighFunction()
HighVariable
getHighVariable()
java.lang.String
getName()
Address
getPCAddress()
int
getSize()
boolean
isNameLocked()
boolean
isReadOnly()
boolean
isTypeLocked()
protected Address
parseRangeList(XmlPullParser parser)
protected int
restoreSymbolXML(XmlElement symel, HighFunction func)
abstract int
restoreXML(XmlPullParser parser, HighFunction func)
void
setHighVariable(HighVariable high)
void
setNameLock(boolean namelock)
void
setReadOnly(boolean readOnly)
void
setTypeLock(boolean typelock)
-
-
-
Field Detail
-
name
protected java.lang.String name
-
type
protected DataType type
-
size
protected int size
-
pcaddr
protected Address pcaddr
-
function
protected HighFunction function
-
-
Constructor Detail
-
HighSymbol
public HighSymbol()
-
HighSymbol
public HighSymbol(java.lang.String nm, DataType tp, int sz, Address pc, HighFunction func)
-
-
Method Detail
-
setHighVariable
public void setHighVariable(HighVariable high)
-
getHighVariable
public HighVariable getHighVariable()
-
getName
public java.lang.String getName()
-
getDataType
public DataType getDataType()
-
getSize
public int getSize()
-
getPCAddress
public Address getPCAddress()
-
getHighFunction
public HighFunction getHighFunction()
-
setTypeLock
public void setTypeLock(boolean typelock)
-
setNameLock
public void setNameLock(boolean namelock)
-
setReadOnly
public void setReadOnly(boolean readOnly)
-
isTypeLocked
public boolean isTypeLocked()
-
isNameLocked
public boolean isNameLocked()
-
isReadOnly
public boolean isReadOnly()
-
buildXML
public abstract java.lang.String buildXML()
-
restoreXML
public abstract int restoreXML(XmlPullParser parser, HighFunction func) throws PcodeXMLException
- Throws:
PcodeXMLException
-
restoreSymbolXML
protected int restoreSymbolXML(XmlElement symel, HighFunction func) throws PcodeXMLException
- Throws:
PcodeXMLException
-
parseRangeList
protected Address parseRangeList(XmlPullParser parser)
-
buildMapSymXML
public static void buildMapSymXML(java.lang.StringBuilder res, java.lang.String addrHashRes, Address pc, java.lang.String sym)
-
buildRangelistXML
public static void buildRangelistXML(java.lang.StringBuilder res, Address pc)
-
-