private boolean isSameMemmap() {
		for (MemoryBlock p1MemBlock : program.getMemory().getBlocks()) {
			if (!isCommonMemblock(p1MemBlock)) {
				continue;
			}
			MemoryBlock p2MemBlock =
				externalDebugProgram.getMemory().getBlock(p1MemBlock.getStart());
			if (p2MemBlock == null || !p2MemBlock.getName().equals(p1MemBlock.getName()) ||
				p2MemBlock.getSize() != p1MemBlock.getSize()) {
				return false;
			}
		}
		return true;
	}
Imports symbols from an external debug program (typically created via a reverse strip) into
the program that contains the executable code that the symbols will be applied to.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/ExternalDebugFileSymbolImporter.java