private static List<SegmentInfo> init(Address imageBase, MemoryBlock[] blocks) {
			List<SegmentInfo> segments = new ArrayList<>();
			for (MemoryBlock block : blocks) {
				long offset = block.getStart().subtract(imageBase);
				SegmentInfo segment = new SegmentInfo(offset, block.getSize());
				segments.add(segment);
			}
			return segments;
		}
Clean up possibly incomplete segment information, by synthesizing missing offset data.
@param segments segments to correct
@param firstSectionOffset "known" first section offset
@param imageAlign section alignment
@return new synthesized segment info with synthesized offsets
Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressCalculator.java