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
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
ConstructorsConstructorDescriptionConstructor for use with restoreXMLMappedDataEntry
(HighSymbol sym, VariableStorage store, Data d) Construct given a symbol, storage, and a backing Data object -
Method Summary
Modifier and TypeMethodDescriptionvoid
Decode this entry from the stream.getData()
boolean
boolean
Methods inherited from class ghidra.program.model.pcode.MappedEntry
encode, getSize, getStorage
Methods inherited from class ghidra.program.model.pcode.SymbolEntry
decodeRangeList, encodeRangelist, getPCAdress
-
Constructor Details
-
MappedDataEntry
Constructor for use with restoreXML- Parameters:
sym
- is the owning HighSymbol
-
MappedDataEntry
Construct given a symbol, storage, and a backing Data object- Parameters:
sym
- the given symbolstore
- the given storaged
- the backing Data object
-
-
Method Details
-
getData
- Returns:
- the backing Data object
-
decode
Description copied from class:SymbolEntry
Decode this entry from the stream. Typically more than one element is consumed.- Overrides:
decode
in classMappedEntry
- Parameters:
decoder
- is the stream decoder- Throws:
DecoderException
- for invalid encodings
-
isReadOnly
public boolean isReadOnly()- Overrides:
isReadOnly
in classMappedEntry
- Returns:
- true if the mapped storage is read-only
-
isVolatile
public boolean isVolatile()- Overrides:
isVolatile
in classMappedEntry
- Returns:
- true if the mapped storage is volatile
-