@Override
	public void setState(AddressRange range, TraceMemoryState state) {
		if (range.getAddressSpace().isRegisterSpace()) {
			registers.setState(range, state);
			return;
		}
		memory.setState(range, state);
	}
Construct a shim

@param memory the memory access shim
@param registers the regsiter access shim
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/pcode/exec/trace/data/DefaultPcodeTraceThreadAccess.java