protected static Address translateMemoryAddress(Address addr, Program otherProgram,
			boolean exactMatchOnly) {
		if (!addr.isMemoryAddress()) {
			return null;
		}
		AddressSpace addrSpace = addr.getAddressSpace();
		AddressSpace otherSpace = getCompatibleAddressSpace(addrSpace, otherProgram);
		if (otherSpace != null) {
			try {
				return otherSpace.getAddressInThisSpaceOnly(addr.getOffset());
			}
			catch (AddressOutOfBoundsException e) {
				return null;
			}
		}
		return null;
	}
Convert an address from the specified program to a comparable address in the
specified otherProgram.
@param addr address in program
@param otherProgram other program
@param exactMatchOnly if false and addr is an overlay address, a closest match will be returned
if possible
@return address for otherProgram or null if no such address exists.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/SimpleDiffUtility.java