private Address normalize(SegmentedAddress addr, Memory memory) {
		if (memory == null) {
			return addr;
		}
		MemoryBlock block = memory.getBlock(addr);
		if (block == null) {
			return addr;
		}
		SegmentedAddress start = (SegmentedAddress) block.getStart();
		return addr.normalize(start.getSegment());

	}
Returns the reference manager being used by this code manager.

@return ReferenceManager the reference manager being used by this code manager
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java