Package ghidra.program.model.pcode
Class HighGlobal
- java.lang.Object
-
- ghidra.program.model.pcode.HighVariable
-
- ghidra.program.model.pcode.HighGlobal
-
public class HighGlobal extends HighVariable
All references (per function) to a single global variable
-
-
Constructor Summary
Constructors Constructor Description HighGlobal(HighFunction high)
Constructor for use with restoreXmlHighGlobal(HighSymbol sym, Varnode vn, Varnode[] inst)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
HighGlobal
public HighGlobal(HighFunction high)
Constructor for use with restoreXml- Parameters:
high
- is the HighFunction this global is accessed by
-
HighGlobal
public HighGlobal(HighSymbol sym, Varnode vn, Varnode[] inst)
-
-
Method Detail
-
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
-
-