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
High-level function parameter
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHighParam(DataType tp, Varnode rep, Address pc, int slot, HighSymbol sym) HighParam(HighFunction high) Constructor for use with restoreXml -
Method Summary
Methods inherited from class ghidra.program.model.pcode.HighLocal
getPCAddress, getSymbolMethods inherited from class ghidra.program.model.pcode.HighVariable
attachInstances, decodeInstances, getDataType, getHighFunction, getInstances, getName, getOffset, getRepresentative, getSize, requiresDynamicStorage, setHighOnInstances
-
Constructor Details
-
HighParam
Constructor for use with restoreXml- Parameters:
high- is the HighFunction containing this parameter
-
HighParam
- 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 Details
-
getSlot
public int getSlot()- Returns:
- get the slot or parameter index
-
decode
Description copied from class:HighVariableDecode this HighVariable from a<high>element in the stream- Overrides:
decodein classHighLocal- Parameters:
decoder- is the stream decoder- Throws:
DecoderException- for invalid encodings
-