Package ghidra.program.model.pcode
Class HighLocal
- java.lang.Object
-
- ghidra.program.model.pcode.HighVariable
-
- ghidra.program.model.pcode.HighLocal
-
- Direct Known Subclasses:
HighParam
public class HighLocal extends HighVariable
-
-
Constructor Summary
Constructors Constructor Description HighLocal(DataType type, Varnode vn, Varnode[] inst, Address pc, HighSymbol sym)HighLocal(HighFunction high)Constructor for use with restoreXml
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressgetPCAddress()HighSymbolgetSymbol()Retrieve any underlying HighSymbolvoidrestoreXml(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
-
HighLocal
public HighLocal(HighFunction high)
Constructor for use with restoreXml- Parameters:
high- is the HighFunction containing this local variable
-
HighLocal
public HighLocal(DataType type, Varnode vn, Varnode[] inst, Address pc, HighSymbol sym)
-
-
Method Detail
-
getSymbol
public HighSymbol getSymbol()
Description copied from class:HighVariableRetrieve any underlying HighSymbol- Specified by:
getSymbolin classHighVariable- Returns:
- the HighSymbol
-
getPCAddress
public Address getPCAddress()
- Returns:
- instruction address the variable comes into scope within the function
-
restoreXml
public void restoreXml(XmlPullParser parser) throws PcodeXMLException
Description copied from class:HighVariableRestore this HighVariable from a<high>XML tag- Specified by:
restoreXmlin classHighVariable- Parameters:
parser- is the XML stream- Throws:
PcodeXMLException- if the XML is not valid
-
-