Package ghidra.pcode.exec.trace.data
Interface PcodeTraceRegistersAccess
- All Superinterfaces:
PcodeTraceDataAccess
- All Known Subinterfaces:
PcodeDebuggerRegistersAccess
- All Known Implementing Classes:
DefaultPcodeTraceRegistersAccess,DefaultPcodeTraceThreadAccess
A data-access shim for a trace's registers
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitializeThreadContext(PcodeThread<?> thread) Initialize the given p-code thread's context register using register context from the trace at the thread's program counterMethods inherited from interface ghidra.pcode.exec.trace.data.PcodeTraceDataAccess
getBytes, getLanguage, getPropertyAccess, getViewportState, intersectUnknown, intersectViewKnown, putBytes, setState, translate
-
Method Details
-
initializeThreadContext
Initialize the given p-code thread's context register using register context from the trace at the thread's program counterThis is called during thread construction, after the program counter is initialized from the same trace thread. This will ensure that the instruction decoder starts in the same mode as the disassembler was for the trace.
- Parameters:
thread- the thread to initialize
-