public void exec(TracePlatform platform, long snap, TraceThread thread, int frame,
			String sleigh) {
		TraceSleighUtils.buildByteExecutor(platform, snap, thread, frame)
				.execute(
					SleighProgramCompiler.compileProgram((SleighLanguage) platform.getLanguage(),
						"builder", sleigh, PcodeUseropLibrary.nil()),
					PcodeUseropLibrary.nil());
	}
Manipulate the trace's memory and registers using Sleigh

@param platform the platform whose language to use
@param snap the snap to modify
@param thread the thread to modify, can be {@code null} if only memory is used
@param frame the frame to modify
@param sleigh the lines of Sleigh, including semicolons.
Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/ToyDBTraceBuilder.java