public static Ext4Xattributes readInodeXAttributes(BinaryReader reader, long endOfInode)
			throws IOException {
		if (reader.getPointerIndex() + Ext4XattrIbodyHeader.SIZEOF >= endOfInode) {
			return null;
		}
		Ext4XattrIbodyHeader eaHeader = new Ext4XattrIbodyHeader(reader);
		if (!eaHeader.isValid()) {
			return null;
		}
		long eaEntriesStart = reader.getPointerIndex();
		List<Ext4XattrEntry> eaEntries = new ArrayList<>();
		while (reader.getPointerIndex() < endOfInode) {
			Ext4XattrEntry eaEntry = new Ext4XattrEntry(reader);
			if (eaEntry.isEndOfListMarker()) {
				break;
			}
			if (!eaEntry.isValid()) {
				Msg.debug(Ext4Xattributes.class, "Bad Ext4XattrEntry: " + reader.getPointerIndex());
				break;
			}
			if (eaEntry.getE_value_offs() > 0 && eaEntry.getE_value_size() > 0) {
				eaEntry.setValue(reader.readByteArray(eaEntriesStart + eaEntry.getE_value_offs(),
					eaEntry.getE_value_size()));
			}
			eaEntries.add(eaEntry);
		}
		return new Ext4Xattributes(eaEntries);
	}
Parses extended attributes found at the end of an Inode.

@param reader {@link BinaryReader} positioned at the end of the used inode fields
@param endOfInode file position of the end of inode
@return new {@link Ext4Xattributes} instance, or null if not present
@throws IOException if error when reading
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/ext4/Ext4Xattributes.java