protected long emuRead(EmulatorHelper emu, Address addr, int size) {
		if (size < 1 || size > 8) {
			throw new IllegalArgumentException("Unsupported EMU read size: " + size);
		}
		MemoryState memState = emu.getEmulator().getMemState();
		return memState.getValue(addr.getAddressSpace(), addr.getOffset(), size);
	}
Check for a Data pointer at the specified address and return the referenced
address.
@param addr address of stored pointer
@return pointer referenced address or null if no pointer found
Ghidra/Features/Base/src/main/java/ghidra/test/processors/support/PCodeTestAbstractControlBlock.java