Package ghidra.program.model.pcode
Class HighOther
java.lang.Object
ghidra.program.model.pcode.HighVariable
ghidra.program.model.pcode.HighOther
Other forms of variable, these are typically compiler infrastructure
like the stackpointer or saved registers
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstruct a unique high NOT associated with a symbolHighOther
(HighFunction high) Constructor for use with restoreXml -
Method Summary
Modifier and TypeMethodDescriptionvoid
Decode this HighVariable from a<high>
element in the streamRetrieve any underlying HighSymbolMethods inherited from class ghidra.program.model.pcode.HighVariable
attachInstances, decodeInstances, getDataType, getHighFunction, getInstances, getName, getOffset, getRepresentative, getSize, requiresDynamicStorage, setHighOnInstances
-
Constructor Details
-
HighOther
Constructor for use with restoreXml- Parameters:
high
- is the HighFunction containing the variable
-
HighOther
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 Details
-
getPCAddress
- Returns:
- instruction address the variable comes into scope within the function
-
getSymbol
Description copied from class:HighVariable
Retrieve any underlying HighSymbol- Specified by:
getSymbol
in classHighVariable
- Returns:
- the HighSymbol
-
decode
Description copied from class:HighVariable
Decode this HighVariable from a<high>
element in the stream- Specified by:
decode
in classHighVariable
- Parameters:
decoder
- is the stream decoder- Throws:
DecoderException
- for invalid encodings
-