Package ghidra.program.model.pcode
Class HighParam
- java.lang.Object
-
- ghidra.program.model.pcode.HighVariable
-
- ghidra.program.model.pcode.HighLocal
-
- ghidra.program.model.pcode.HighParam
-
public class HighParam extends HighLocal
High-level function parameter
-
-
Constructor Summary
Constructors Constructor Description HighParam(DataType tp, Varnode rep, Address pc, int slot, HighSymbol sym)
HighParam(HighFunction high)
Constructor for use with restoreXml
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSlot()
void
restoreXml(XmlPullParser parser)
Restore this HighVariable from a<high>
XML tag-
Methods inherited from class ghidra.program.model.pcode.HighLocal
getPCAddress, getSymbol
-
Methods inherited from class ghidra.program.model.pcode.HighVariable
attachInstances, getDataType, getHighFunction, getInstances, getName, getOffset, getRepresentative, getSize, requiresDynamicStorage, restoreInstances, setHighOnInstances
-
-
-
-
Constructor Detail
-
HighParam
public HighParam(HighFunction high)
Constructor for use with restoreXml- Parameters:
high
- is the HighFunction containing this parameter
-
HighParam
public HighParam(DataType tp, Varnode rep, Address pc, int slot, HighSymbol sym)
- Parameters:
tp
- data type of variablerep
- is the representative input Varnodepc
- null or Address of PcodeOp which defines the representativeslot
- parameter index starting at 0sym
- associated symbol
-
-
Method Detail
-
getSlot
public int getSlot()
- Returns:
- get the slot or parameter index
-
restoreXml
public void restoreXml(XmlPullParser parser) throws PcodeXMLException
Description copied from class:HighVariable
Restore this HighVariable from a<high>
XML tag- Overrides:
restoreXml
in classHighLocal
- Parameters:
parser
- is the XML stream- Throws:
PcodeXMLException
- if the XML is not valid
-
-