public static long getPrelinkStartAddr(MachHeader header) {
		SegmentCommand prelinkTextSegment = header.getSegment(SegmentNames.SEG_PRELINK_TEXT);
		if (prelinkTextSegment != null && prelinkTextSegment.getVMsize() > 0) {
			return prelinkTextSegment.getVMaddress();
		}

		return 0;
	}
Gets the start address of the PRELINK Mach-O's in memory.
<p>
NOTE: This method only works for pre iOS 12 binaries.  If called on an iOS 12 binary, it will
fail and return 0 because the __PRELINK_TEXT segment has a size of 0.  In this case, some
other means of computing the start address of the PRELINK Mach-O's must be used.

@param header The Mach-O header.
@return The start address of the PRELINK Mach-O's in memory, or 0 if it could not be found.
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/MachoPrelinkUtils.java