Package ghidra.program.model.pcode
Class HighOther
- java.lang.Object
-
- ghidra.program.model.pcode.HighVariable
-
- ghidra.program.model.pcode.HighOther
-
public class HighOther extends HighVariable
Other forms of variable, these are typically compiler infrastructure like the stackpointer or saved registers
-
-
Constructor Summary
Constructors Constructor Description HighOther(DataType type, Varnode vn, Varnode[] inst, Address pc, HighFunction func)
Construct a unique high NOT associated with a symbolHighOther(HighFunction high)
Constructor for use with restoreXml
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
getPCAddress()
HighSymbol
getSymbol()
Retrieve any underlying HighSymbolvoid
restoreXml(XmlPullParser parser)
Restore this HighVariable from a<high>
XML tag-
Methods inherited from class ghidra.program.model.pcode.HighVariable
attachInstances, getDataType, getHighFunction, getInstances, getName, getOffset, getRepresentative, getSize, requiresDynamicStorage, restoreInstances, setHighOnInstances
-
-
-
-
Constructor Detail
-
HighOther
public HighOther(HighFunction high)
Constructor for use with restoreXml- Parameters:
high
- is the HighFunction containing the variable
-
HighOther
public HighOther(DataType type, Varnode vn, Varnode[] inst, Address pc, HighFunction func)
Construct a unique high NOT associated with a symbol- Parameters:
type
- data type of variablevn
- is the representative Varnodeinst
- is the list of Varnodes making up the variablepc
- code unit address where unique is first assigned (first-use)func
- the associated high function
-
-
Method Detail
-
getPCAddress
public Address getPCAddress()
- Returns:
- instruction address the variable comes into scope within the function
-
getSymbol
public HighSymbol getSymbol()
Description copied from class:HighVariable
Retrieve any underlying HighSymbol- Specified by:
getSymbol
in classHighVariable
- Returns:
- the HighSymbol
-
restoreXml
public void restoreXml(XmlPullParser parser) throws PcodeXMLException
Description copied from class:HighVariable
Restore this HighVariable from a<high>
XML tag- Specified by:
restoreXml
in classHighVariable
- Parameters:
parser
- is the XML stream- Throws:
PcodeXMLException
- if the XML is not valid
-
-