public boolean hasGoodOffsets(ByteProvider bp) throws IOException {
		return 0 <= dataForkOffset && dataForkOffset < bp.length() &&
			dataForkLength > 0 &&
			dataForkOffset + dataForkLength < bp.length() &&
			0 <= xmlOffset && xmlOffset < bp.length() &&
			xmlLength > 0 &&
			xmlOffset + xmlLength < bp.length();
	}
Returns true if the file offset values in the header are within bounds of the
specified ByteProvider.

@param bp {@link ByteProvider}
@return boolean true if file offsets are within range
@throws IOException if io error
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/ios/dmg/UDIFHeader.java