Package ghidra.trace.database.listing
Class DBTraceDataArrayElementComponent
java.lang.Object
ghidra.trace.database.listing.AbstractDBTraceDataComponent
ghidra.trace.database.listing.DBTraceDataArrayElementComponent
- All Implemented Interfaces:
Settings,CodeUnit,Data,MemBuffer,MemBufferMixin,PropertySet,DBTraceCodeUnitAdapter,DBTraceDataAdapter,DBTraceDefinedDataAdapter,TraceCodeUnit,TraceData,DataAdapterFromDataType,DataAdapterFromSettings,DataAdapterMinimal
The implementation of an array-element data component in a
DBTrace-
Field Summary
Fields inherited from class ghidra.trace.database.listing.AbstractDBTraceDataComponent
address, baseDataType, componentCache, dataType, defaultSettings, index, length, level, maxAddress, parent, path, rootFields 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.trace.util.DataAdapterMinimal
DATA_OP_INDEX, EMPTY_INT_ARRAYFields inherited from interface ghidra.trace.database.listing.DBTraceDataAdapter
EMPTY_STRING_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionDBTraceDataArrayElementComponent(DBTraceData root, DBTraceDefinedDataAdapter parent, int index, Address address, DataType dataType, int length) Create an array element -
Method Summary
Modifier and TypeMethodDescriptionGet the bounds of this unit in space and timeGet the field name of this data item if it is "inside" another data item, otherwise return null.getRange()Get the address range covered by this unitMethods inherited from class ghidra.trace.database.listing.AbstractDBTraceDataComponent
delete, doGetComponentCache, getAddress, getBaseDataType, getBytes, getComponentIndex, getComponentLevel, getComponentPath, getComponentPathName, getDataType, getDefaultSettings, getEndSnap, getLanguage, getLength, getLifespan, getMaxAddress, getParent, getParentOffset, getPathName, getPathName, getPlatform, getRoot, getRootOffset, getSettingsSpace, getStartSnap, getThread, getTrace, setEndSnap, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ghidra.program.model.listing.CodeUnit
getComment, getCommentAsArray, setComment, setCommentAsArrayMethods inherited from interface ghidra.program.model.listing.Data
isImmutableSettingsMethods inherited from interface ghidra.trace.util.DataAdapterFromDataType
doToString, getAddress, getDefaultLabelPrefix, getDefaultValueRepresentation, getMnemonicString, getScalar, getValue, getValueClass, hasStringValue, isArray, isDynamic, isPointer, isStructure, isUnionMethods inherited from interface ghidra.trace.util.DataAdapterFromSettings
isConstant, isVolatile, isWritableMethods inherited from interface ghidra.trace.util.DataAdapterMinimal
getNumOperands, getPrimarySymbolOrDynamicNameMethods inherited from interface ghidra.trace.database.listing.DBTraceCodeUnitAdapter
addMnemonicReference, addOperandReference, compareTo, contains, getAddressSpace, getAddressString, getBytes, getBytesInCodeUnit, getComment, getCommentAsArray, getExternalReference, getIntProperty, getLabel, getMemory, getMinAddress, getMnemonicReferences, getObjectProperty, getOperandReferences, getPrimaryReference, getPrimarySymbol, getProgram, getProperty, getReferenceIteratorTo, getReferencesFrom, getStringProperty, getSymbols, getVoidProperty, hasProperty, isBigEndian, propertyNames, removeExternalReference, removeMnemonicReference, removeOperandReference, removeProperty, setComment, setCommentAsArray, setPrimaryMemoryReference, setProperty, setProperty, setProperty, setProperty, setProperty, setRegisterReference, setStackReference, setTypedPropertyMethods inherited from interface ghidra.trace.database.listing.DBTraceDataAdapter
addValueReference, clearAllSettings, clearSetting, getLong, getNames, getSettingsDefinition, getString, getValue, getValueReferences, hasMutability, isChangeAllowed, isEmpty, removeValueReference, setLong, setString, setValueMethods inherited from interface ghidra.trace.database.listing.DBTraceDefinedDataAdapter
doGetComponent, getComponent, getComponent, getComponentAt, getComponentContaining, getComponentsContaining, getNumComponents, getPrimitiveAt, isDefinedMethods inherited from interface ghidra.program.model.mem.MemBuffer
getInputStream, getInputStream, getUnsignedByte, getUnsignedInt, getUnsignedShort, getVarLengthInt, getVarLengthUnsignedInt, isInitializedMemoryMethods inherited from interface ghidra.program.model.mem.MemBufferMixin
getBigInteger, getByte, getBytes, getBytesInFull, getInt, getLong, getShortMethods inherited from interface ghidra.docking.settings.Settings
getSuggestedValues
-
Constructor Details
-
DBTraceDataArrayElementComponent
public DBTraceDataArrayElementComponent(DBTraceData root, DBTraceDefinedDataAdapter parent, int index, Address address, DataType dataType, int length) Create an array element- Parameters:
root- the root data unitparent- the parent component, possibly the rootindex- the index of this component in its parentaddress- the minimum address of this componentdataType- the data type of this componentlength- the length of this component
-
-
Method Details
-
getFieldName
Description copied from interface:DataGet the field name of this data item if it is "inside" another data item, otherwise return null.- Returns:
- the name of this data as known from some parent data item or null if this data item is not a component of another data item.
-
getFieldSyntax
- Specified by:
getFieldSyntaxin classAbstractDBTraceDataComponent
-
getRange
Description copied from interface:TraceCodeUnitGet the address range covered by this unit- Returns:
- the range
-
getBounds
Description copied from interface:TraceCodeUnitGet the bounds of this unit in space and time- Returns:
- the bounds
-