Package ghidra.trace.util
Interface TraceSpaceMixin
- All Known Subinterfaces:
DBTraceSpaceBased
- All Known Implementing Classes:
AbstractDBTraceProgramViewListing.DBTraceProgramViewUndefinedData,AbstractDBTracePropertyMap.DBTracePropertyMapSpace,DBTraceAddressSnapRangePropertyMapSpace,DBTraceBookmarkSpace,DBTraceCodeSpace,DBTraceDataSettingsAdapter.DBTraceDataSettingsSpace,DBTraceEquateSpace,DBTraceLabelSymbol,DBTraceMemorySpace,DBTraceReferenceSpace,DBTraceRegisterContextSpace,UndefinedDBTraceData
public interface TraceSpaceMixin
Add conveniences for getting the thread and frame level, if applicable, from an object's address
space.
-
Method Summary
Modifier and TypeMethodDescriptionGet the object's address spacedefault intGet the frame level denoted by the object's address spacedefault TraceThreadGet the thread denoted by the object's address spacegetTrace()Get the trace containing the object
-
Method Details
-
getTrace
Trace getTrace()Get the trace containing the object- Returns:
- the trace
-
getAddressSpace
AddressSpace getAddressSpace()Get the object's address space- Returns:
- the address space
-
getThread
Get the thread denoted by the object's address space- Returns:
- the thread
-
getFrameLevel
default int getFrameLevel()Get the frame level denoted by the object's address spaceNote this will return 0 if the frame level is not applicable. This is the same as the innermost frame level when it is applicable. To distinguish whether or not a 0 return value is applicable, you must examine the path or schema.
- Returns:
- the level or 0
-