public static PcodeTraceDataAccess getDefaultThreadAccess(TracePlatform platform, long snap,
			TraceThread thread, int frame) {
		return new DefaultPcodeTraceAccess(platform, snap).getDataForThreadState(thread, frame);
	}
Get a trace-data access shim suitable for evaluating Sleigh expressions with thread context

<p>
Do not use the returned shim for emulation, but only for one-off p-code execution, e.g.,
Sleigh expression evaluation.

@param platform the platform whose language and address mappings to use
@param snap the source snap
@param thread the thread for register context
@param frame the frame for register context, 0 if not applicable
@return the trace-data access shim
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/pcode/exec/trace/DirectBytesTracePcodeExecutorState.java