default Address locateAddressForFileOffset(long fileOffset) {
		long startOffset = getFileBytesOffset();
		if (!containsFileOffset(fileOffset)) {
			return null;
		}
		// NOTE: logic does not handle bit/byte-mapped blocks (assumes 1:1 mapping)
		long offset = fileOffset - startOffset;
		if (offset >= getLength()) {
			return null;
		}
		return getMinAddress().add(offset);
	}
Get the Address within this sub-block which corresponds to the specified file offset.
 
@param fileOffset file offset
@return {@link Address} within this sub-block or null if file offset is out of range
or method is not supported by the sub-block type (e.g., bit/byte-mapped sub-block).
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/mem/MemoryBlockSourceInfo.java