protected void removeUninitializedBlocks(Program program, AddressSet set) {
		MemoryBlock[] blocks = program.getMemory().getBlocks();
		for (MemoryBlock block : blocks) {
			if (block.isInitialized()) {
				continue;
			}
			// ByteMapped blocks currently are uninitialized.
			// Not optimal, because there might not be initialized
			// bytes in the whole block, but the savings of checking
			// would be negligible
			if (block.isMapped()) {
				continue;
			}

			set.deleteRange(block.getStart(), block.getEnd());
		}
	}
Get rid of uninitialized memory blocks from set to analyze.
Uninitialized memory can't have instructions with no bytes.

@param program program
@param set remove blocks without bytes
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/ConstantPropagationAnalyzer.java