public ElfProgramHeader getProgramLoadHeaderContainingFileOffset(long offset) {
		for (ElfProgramHeader programHeader : programHeaders) {
			if (programHeader == null ||
				programHeader.getType() != ElfProgramHeaderConstants.PT_LOAD ||
				programHeader.isInvalidOffset()) {
				continue;
			}
			long start = programHeader.getOffset();
			long end = start + (programHeader.getFileSize() - 1);
			if (offset >= start && offset <= end) {
				return programHeader;
			}
		}
		return null;
	}
Returns the PT_LOAD program header which loads a range containing 
the specified file offset, or null if not found.
@param offset the file offset to be loaded
@return the program header with the specified file offset
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java