private AddressSet getLabelDifferences(AddressSetView addressSet, TaskMonitor monitor)
			throws CancelledException {

		if (addressSet == null) {
			addressSet = program1.getMemory();
		}

		SymbolIterator iter1 = program1.getSymbolTable().getPrimarySymbolIterator(addressSet, true);
		AddressSetView addressSet2 = DiffUtility.getCompatibleAddressSet(addressSet, program2);
		SymbolIterator iter2 =
			program2.getSymbolTable().getPrimarySymbolIterator(addressSet2, true);

		SymbolComparator c = new SymbolComparator();
		return c.getObjectDiffs(iter1, iter2, monitor);
	}
Determines the addresses where program1 and program2 have different
 labels (symbols or aliases) specified.
@param addressSet the addresses to check for differences.
The addresses in this address set should be derived from program1.
@param monitor the task monitor for indicating the progress of
determining differences. This monitor reports the progress to the user.

@return the addresses where there were different labels.
The addresses in this address set are derived from program1.
@throws CancelledException if the user cancelled the Diff.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramDiff.java