private void determineAddressDiffs() {
    	// include live blocks as initialized
        AddressSetView initAddrSet1 = ProgramMemoryUtil.getAddressSet(program1, true);
        AddressSetView uninitAddrSet1 = ProgramMemoryUtil.getAddressSet(program1, false);
		
        AddressSetView initAddrSet2 = ProgramMemoryUtil.getAddressSet(program2, true);
        AddressSetView uninitAddrSet2 = ProgramMemoryUtil.getAddressSet(program2, false);
        AddressSet initSet2CompatibleWith1 = DiffUtility.getCompatibleAddressSet(initAddrSet2, program1);
        AddressSet uninitSet2CompatibleWith1 = DiffUtility.getCompatibleAddressSet(uninitAddrSet2, program1);

		// Address Ranges for uninitialized memory in both one and two.
		AddressSetView uninitInBothCompatibleWith1 =
			uninitAddrSet1.intersect(uninitSet2CompatibleWith1);

        // Address Ranges for initialized memory in both one and two.
        initInBoth = initAddrSet1.intersect(initSet2CompatibleWith1);
        
        // Address Ranges for initialized memory in both one and two.
        sameTypeInBoth = new AddressSet(initInBoth);
        sameTypeInBoth.add(uninitInBothCompatibleWith1);
        
        AddressSetView addrSet1 = ProgramMemoryUtil.getAddressSet(program1);
        AddressSetView addrSet2 = ProgramMemoryUtil.getAddressSet(program2);
        // Address Ranges in both one and two.
        AddressSet addrSet2CompatibleWith1 = DiffUtility.getCompatibleAddressSet(addrSet2, program1);
        inBoth = addrSet1.intersect(addrSet2CompatibleWith1);
        
        // Address Ranges only in one.
        onlyInOne = addrSet1.xor(inBoth);
        
        // Address Ranges only in two.
        AddressSet inBothCompatibleWith2 = DiffUtility.getCompatibleAddressSet(inBoth, program2);
        onlyInTwo = addrSet2.xor(inBothCompatibleWith2);

		compatibleOnlyInTwo = DiffUtility.getCompatibleAddressSet(onlyInTwo, program1);
    }
Return whether or not the two specified programs are alike 
(their language name or address spaces are the same).
@param p1 the first program
@param p2 the second program
@return true if the programs are alike (their language name or address spaces are the same).
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMemoryComparator.java