static byte[] getOriginalBytes(Memory memory, Address addr, int byteCount) throws IOException {
		byte[] originalBytes = new byte[byteCount];
		// must get one byte at a time due to the possibility of byte-mapped memory use
		for (int i = 0; i < byteCount; i++) {
			if (i != 0) {
				addr = addr.next();
			}
			if (addr == null) {
				break;
			}
			AddressSourceInfo addressSourceInfo = memory.getAddressSourceInfo(addr);
			if (addressSourceInfo == null) {
				return originalBytes;
			}
			originalBytes[i] = addressSourceInfo.getOriginalValue();
		}
		return originalBytes;
	}
Get the specified number of original file bytes for the specified address.  Any offsets
not backed by file bytes will have a 0-byte value.
@param memory program memory
@param addr memory address
@param byteCount number of original file bytes to read
@return byte array of length byteCount
@throws IOException if an IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/reloc/RelocationManager.java