Package ghidra.trace.database.target
Interface DBTraceObjectInterface
- All Superinterfaces:
TraceObjectInterface,TraceUniqueObject
- All Known Implementing Classes:
DBTraceBreakpointLocation,DBTraceBreakpointSpec,DBTraceMemoryRegion,DBTraceModule,DBTraceObjectActivatable,DBTraceObjectAggregate,DBTraceObjectEnvironment,DBTraceObjectEventScope,DBTraceObjectExecutionStateful,DBTraceObjectFocusScope,DBTraceObjectMemory,DBTraceObjectMethod,DBTraceObjectProcess,DBTraceObjectRegister,DBTraceObjectRegisterContainer,DBTraceObjectTogglable,DBTraceSection,DBTraceStack,DBTraceStackFrame,DBTraceThread
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface ghidra.trace.model.target.iface.TraceObjectInterface
KEY_COMMENT, KEY_DISPLAY, KEY_KIND, KEY_MODIFIED, KEY_ORDER, KEY_SHORT_DISPLAY, KEY_TYPE, KEY_VALUE -
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectKeyGet an opaque unique id for this object, whose hash is immutabledefault booleanCheck if this object is deleteddefault AddressSpacespaceForValue(long snap, String key) static AddressSpacespaceForValue(TraceObject object, long snap, String key) TraceChangeRecord<?, ?> translateEvent(TraceChangeRecord<?, ?> rec) Translate an object event into the interface-specific eventMethods inherited from interface ghidra.trace.model.target.iface.TraceObjectInterface
getObject
-
Method Details
-
translateEvent
Translate an object event into the interface-specific eventBoth the object event and the interface-specific event, if applicable, will be emitted. If multiple events need to be emitted, then this method may emit them directly via its object's trace. If exactly one event needs to be emitted, then this method should return the translated record. If no translation applies, or if the translated event(s) were emitted directly, this method returns
null.- Parameters:
rec- the object event- Returns:
- the interface-specific event to emit, or
null
-
spaceForValue
-
spaceForValue
-
getObjectKey
Description copied from interface:TraceUniqueObjectGet an opaque unique id for this object, whose hash is immutable- Specified by:
getObjectKeyin interfaceTraceUniqueObject- Returns:
- the opaque object id
-
isDeleted
default boolean isDeleted()Description copied from interface:TraceUniqueObjectCheck if this object is deleted- Specified by:
isDeletedin interfaceTraceUniqueObject- Returns:
- true if deleted
-