@Override
	public int getBytes(Address start, ByteBuffer buf) {
		if (start.isRegisterAddress()) {
			return registers.getBytes(start, buf);
		}
		return memory.getBytes(start, buf);
	}
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