@Override
	public TracePcodeExecutorState<Pair<byte[], U>> createLocalState(
			PcodeThread<Pair<byte[], U>> thread) {
		return getPartsFactory().createTraceLocalState(this, thread,
			new BytesTracePcodeExecutorStatePiece(access.getDataForLocalState(thread, 0)));
	}
Create a new emulator

@param platform the platform to emulate
@param snap the source snap
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/pcode/exec/trace/auxiliary/AuxTracePcodeEmulator.java