Package ghidra.trace.util
Interface DataAdapterFromSettings
- All Superinterfaces:
CodeUnit,Data,MemBuffer,PropertySet,Settings
- All Known Subinterfaces:
DBTraceDataAdapter,DBTraceDefinedDataAdapter
- All Known Implementing Classes:
AbstractDBTraceDataComponent,AbstractDBTraceProgramViewListing.DBTraceProgramViewUndefinedData,DBTraceData,DBTraceDataArrayElementComponent,DBTraceDataCompositeFieldComponent,UndefinedDBTraceData
-
Field Summary
Fields inherited from interface ghidra.program.model.listing.CodeUnit
COMMENT_PROPERTY, DEFINED_DATA_PROPERTY, EOL_COMMENT, INSTRUCTION_PROPERTY, MNEMONIC, PLATE_COMMENT, POST_COMMENT, PRE_COMMENT, REPEATABLE_COMMENT, SPACE_PROPERTYFields inherited from interface ghidra.docking.settings.Settings
EMPTY_STRING_ARRAY -
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends SettingsDefinition>
TgetSettingsDefinition(Class<T> settingsDefinitionClass) default booleanhasMutability(int mutabilityType) default booleanDetermine if this data has explicitly been marked as constant.default booleanDetermine if this data has explicitly been marked as volatile.default booleanDetermine if this data has explicitly been marked as writable.Methods inherited from interface ghidra.program.model.listing.CodeUnit
addMnemonicReference, addOperandReference, compareTo, contains, getAddress, getAddressString, getBytes, getBytesInCodeUnit, getComment, getComment, getCommentAsArray, getCommentAsArray, getExternalReference, getLabel, getLength, getMaxAddress, getMinAddress, getMnemonicReferences, getMnemonicString, getNumOperands, getOperandReferences, getPrimaryReference, getPrimarySymbol, getProgram, getReferenceIteratorTo, getReferencesFrom, getScalar, getSymbols, removeExternalReference, removeMnemonicReference, removeOperandReference, setComment, setComment, setCommentAsArray, setCommentAsArray, setPrimaryMemoryReference, setRegisterReference, setStackReferenceMethods inherited from interface ghidra.program.model.listing.Data
addValueReference, getBaseDataType, getComponent, getComponent, getComponentAt, getComponentContaining, getComponentIndex, getComponentLevel, getComponentPath, getComponentPathName, getComponentsContaining, getDataType, getDefaultLabelPrefix, getDefaultValueRepresentation, getFieldName, getNumComponents, getParent, getParentOffset, getPathName, getPrimitiveAt, getRoot, getRootOffset, getValue, getValueClass, getValueReferences, hasStringValue, isArray, isDefined, isDynamic, isImmutableSettings, isPointer, isStructure, isUnion, removeValueReferenceMethods inherited from interface ghidra.program.model.mem.MemBuffer
getAddress, getBigInteger, getByte, getBytes, getInputStream, getInputStream, getInt, getLong, getMemory, getShort, getUnsignedByte, getUnsignedInt, getUnsignedShort, getVarLengthInt, getVarLengthUnsignedInt, isBigEndian, isInitializedMemoryMethods inherited from interface ghidra.program.model.util.PropertySet
getIntProperty, getObjectProperty, getStringProperty, getVoidProperty, hasProperty, propertyNames, removeProperty, setProperty, setProperty, setProperty, setPropertyMethods inherited from interface ghidra.docking.settings.Settings
clearAllSettings, clearSetting, getDefaultSettings, getLong, getNames, getString, getSuggestedValues, getValue, isChangeAllowed, isEmpty, setLong, setString, setValue
-
Method Details
-
getSettingsDefinition
-
hasMutability
default boolean hasMutability(int mutabilityType) -
isConstant
default boolean isConstant()Description copied from interface:DataDetermine if this data has explicitly been marked as constant. NOTE: This is based upon explicitDataandDataTypemutability settings and does not reflect independent memory block or processor specification settings.- Specified by:
isConstantin interfaceData- Returns:
- true if data is constant, else false.
-
isWritable
default boolean isWritable()Description copied from interface:DataDetermine if this data has explicitly been marked as writable. NOTE: This is based upon explicitDataandDataTypemutability settings and does not reflect independent memory block or processor specification settings.- Specified by:
isWritablein interfaceData- Returns:
- true if data is writable, else false.
-
isVolatile
default boolean isVolatile()Description copied from interface:DataDetermine if this data has explicitly been marked as volatile. NOTE: This is based upon explicitDataandDataTypemutability settings and does not reflect independent memory block or processor specification settings.- Specified by:
isVolatilein interfaceData- Returns:
- true if data is volatile, else false.
-