public void checkCompatibility() {
		// Verify the SquashFS version and warn the user if it isn't 4.0
		if ((this.majorVersion != 4) || (this.minorVersion != 0)) {
			Msg.warn(this, "SquashFS archive is version " + majorVersion + "." + minorVersion +
				" but Ghidra has only been tested with version 4.0");
		}

		// Let the user know if the Xattr table is missing
		if ((xattrIdTableStart == SquashConstants.SECTION_OMITTED)) {
			Msg.info(this, "In SquashFS archive, the optional Xattr table is missing");
		}

		// Let the user know if the fragment table is missing
		if ((fragmentTableStart == SquashConstants.SECTION_OMITTED)) {
			Msg.info(this, "In SquashFS archive, the optional fragment table is missing");
		}

		// Let the user know if the export table is missing
		if ((exportTableStart == SquashConstants.SECTION_OMITTED)) {
			Msg.info(this, "In SquashFS archive, the optional export table is missing");
		}

		// Check if the unused flag is set and warn the user if it is
		if (isUsedFlagSet() && (majorVersion >= 4)) {
			Msg.warn(this,
				"In SquashFS archive super block, the unused flag is set when it should " +
					"be cleared. Per standard, the archive is invalid. Continue with caution!");
		}

		// Check if blockLog is correct and warn the user if not
		if (1 << blockLog != blockSize) {
			Msg.warn(this,
				"In SquashFS archive super block, the blocksize does not match the blockLog value." +
					" Per standard, the archive is invalid. Continue with caution!");
		}

		// Check if the flags for compressed inodes and compressed IDs match and warn the user if not
		if ((isInodesUncompressed() != isIDsUncompressed()) && (majorVersion >= 4)) {
			Msg.warn(this,
				"In SquashFS archive super block, the flags for whether inodes and IDs" +
					"are compressed should match. This is to maintain backwards compantability, " +
					"but they differ in your archive. Continue with caution!");
		}
	}
Validate the SuperBlock against expected values and warn the user of any possible issues
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/squashfs/SquashSuperBlock.java