Package ghidra.program.model.pcode
Class MappedDataEntry
- java.lang.Object
-
- ghidra.program.model.pcode.SymbolEntry
-
- ghidra.program.model.pcode.MappedEntry
-
- ghidra.program.model.pcode.MappedDataEntry
-
public class MappedDataEntry extends MappedEntry
A normal address based HighSymbol mapping with an associated Data object
-
-
Field Summary
-
Fields inherited from class ghidra.program.model.pcode.MappedEntry
storage
-
Fields inherited from class ghidra.program.model.pcode.SymbolEntry
pcaddr, symbol
-
-
Constructor Summary
Constructors Constructor Description MappedDataEntry(HighSymbol sym)Constructor for use with restoreXMLMappedDataEntry(HighSymbol sym, VariableStorage store, Data d)Construct given a symbol, storage, and a backing Data object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatagetData()booleanisReadOnly()booleanisVolatile()voidrestoreXML(XmlPullParser parser)Restore this entry from the given XML stream.-
Methods inherited from class ghidra.program.model.pcode.MappedEntry
getSize, getStorage, saveXml
-
Methods inherited from class ghidra.program.model.pcode.SymbolEntry
buildRangelistXML, getPCAdress, parseRangeList
-
-
-
-
Constructor Detail
-
MappedDataEntry
public MappedDataEntry(HighSymbol sym)
Constructor for use with restoreXML- Parameters:
sym- is the owning HighSymbol
-
MappedDataEntry
public MappedDataEntry(HighSymbol sym, VariableStorage store, Data d)
Construct given a symbol, storage, and a backing Data object- Parameters:
sym- the given symbolstore- the given storaged- the backing Data object
-
-
Method Detail
-
getData
public Data getData()
- Returns:
- the backing Data object
-
restoreXML
public void restoreXML(XmlPullParser parser) throws PcodeXMLException
Description copied from class:SymbolEntryRestore this entry from the given XML stream. Typically more than one tag is consumed- Overrides:
restoreXMLin classMappedEntry- Parameters:
parser- is the given XML stream- Throws:
PcodeXMLException- if the XML is invalid
-
isReadOnly
public boolean isReadOnly()
- Overrides:
isReadOnlyin classMappedEntry- Returns:
- true if the mapped storage is read-only
-
isVolatile
public boolean isVolatile()
- Overrides:
isVolatilein classMappedEntry- Returns:
- true if the mapped storage is volatile
-
-