private void getByteDiffs(CodeUnit cu1, CodeUnit cu2, AddressSet byteDiffs)
			throws MemoryAccessException {
		if (cu2 == null) {
			byteDiffs.addRange(cu1.getMinAddress(), cu1.getMaxAddress());
		}
		else {
			byte[] bytes1 = cu1.getBytes();
			byte[] bytes2 = cu2.getBytes();
			int minBytes = Math.min(bytes1.length, bytes2.length);
			Address minAddr = cu1.getMinAddress();
			for (int i = 0; i < minBytes; i++) {
				if (bytes1[i] != bytes2[i]) {
					byteDiffs.add(minAddr.add(i));
				}
			}
			if (bytes1.length > bytes2.length) {
				byteDiffs.addRange(minAddr.add(bytes2.length), cu1.getMaxAddress());
			}
		}
	}
Determines if this ListingDiff currently has an address correlation to use.
@return true if it has an address correlation currently.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ListingDiff.java