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
ConstructorDescriptionConstructor 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()
int
Return one of - MutabilitySettingsDefinition.NORMAL - MutabilitySettingsDefinition.VOLATILE - MutabilitySettingsDefinition.CONSTANTMethods inherited from class ghidra.program.model.pcode.MappedEntry
encode, getMutabilityOfAddress, 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
-
getMutability
public int getMutability()Description copied from class:SymbolEntry
Return one of - MutabilitySettingsDefinition.NORMAL - MutabilitySettingsDefinition.VOLATILE - MutabilitySettingsDefinition.CONSTANT- Overrides:
getMutability
in classMappedEntry
- Returns:
- the mutability setting
-