Package ghidra.debug.api.emulation
Interface PcodeDebuggerAccess
- All Superinterfaces:
PcodeTraceAccess
A trace-and-debugger access shim
In addition to the trace "coordinates" encapsulated by PcodeTraceAccess, this
encapsulates the tool controlling a session and the session's target. This permits p-code
executor/emulator states to access target data and to access session data, e.g., data from mapped
static images. It supports the same method chain pattern as PcodeTraceAccess.
-
Method Summary
Modifier and TypeMethodDescriptiongetDataForLocalState(PcodeThread<?> thread, int frame) Get the data-access shim for use in an emulator thread's local stategetDataForLocalState(TraceThread thread, int frame) Get the data-access shim for use in an emulator thread's local stateGet the data-access shim for use in an emulator's shared stateMethods inherited from interface ghidra.pcode.exec.trace.data.PcodeTraceAccess
deriveForWrite, getDataForThreadState, getLanguage, newPcodeTraceThreadAccess
-
Method Details
-
getDataForLocalState
Description copied from interface:PcodeTraceAccessGet the data-access shim for use in an emulator thread's local state- Specified by:
getDataForLocalStatein interfacePcodeTraceAccess- Parameters:
thread- the emulator's threadframe- the frame, usually 0- Returns:
- the shim
-
getDataForLocalState
Description copied from interface:PcodeTraceAccessGet the data-access shim for use in an emulator thread's local state- Specified by:
getDataForLocalStatein interfacePcodeTraceAccess- Parameters:
thread- the trace thread associated with the emulator's threadframe- the frame, usually 0- Returns:
- the shim