-
Notifications
You must be signed in to change notification settings - Fork 98
feat(handler): add support for squashfs v4 broadcom variants #1352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
|
Once onekey-sec/sasquatch#34 is in, we'll do a tagged release and update https://github.com/onekey-sec/unblob/blob/main/install-deps.sh so it pulls the new version. Hang on. |
qkaiser
reviewed
Jan 27, 2026
Contributor
|
Ideally should wait for NixOS/nixpkgs#484387 to land |
Contributor
|
NixOS/nixpkgs#484387 landed so we'll be able to merge this one once our CI/CD stuff is fixed |
f45710e to
53e1710
Compare
Contributor
|
@jstucke all good, just waiting for another maintainer to look at the commit I added here |
vlaci
reviewed
Feb 9, 2026
0roman
reviewed
Feb 9, 2026
tests/integration/filesystem/squashfs/squashfs_v4_le_broadcom/__input__/squashfs_v4.bin
Outdated
Show resolved
Hide resolved
0roman
reviewed
Feb 9, 2026
tests/integration/filesystem/squashfs/squashfs_v4_le_broadcom/__input__/squashfs_v4.nopad.bin
Outdated
Show resolved
Hide resolved
With the introduction of version 4 variant from Broadcom, we need a more generalized approach to extraction so that it can handle any version and any endianness. The SquashFSExtractor now takes a version argument, provided by the handler. The extractor then decides which executable to use depending on the version. The code remains the same, it's just moved from the v4 big endian extractor to the generalized one.
Adds support for unpacking broadcom variants of squashfs v4 images (e.g. found in D-Link DSL-2640B and Asus DSL-N12HP).
vlaci
approved these changes
Feb 11, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for unpacking broadcom variants of squashfs v4 images (e.g. found in D-Link DSL-2640B and Asus DSL-N12HP)