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
storageFields 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 TypeMethodDescriptionvoidDecode this entry from the stream.getData()intReturn one of - MutabilitySettingsDefinition.NORMAL - MutabilitySettingsDefinition.VOLATILE - MutabilitySettingsDefinition.CONSTANTMethods inherited from class ghidra.program.model.pcode.MappedEntry
encode, getMutabilityOfAddress, getSize, getStorageMethods 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:SymbolEntryDecode this entry from the stream. Typically more than one element is consumed.- Overrides:
decodein classMappedEntry- Parameters:
decoder- is the stream decoder- Throws:
DecoderException- for invalid encodings
-
getMutability
public int getMutability()Description copied from class:SymbolEntryReturn one of - MutabilitySettingsDefinition.NORMAL - MutabilitySettingsDefinition.VOLATILE - MutabilitySettingsDefinition.CONSTANT- Overrides:
getMutabilityin classMappedEntry- Returns:
- the mutability setting
-