You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Java-side sevenzipjbinding.jar in the Autopsy repository was verified to be byte-for-byte identical to the version used for the ARM64 native build:
thirdparty/sevenzip/sevenzipjbinding-AllPlatforms.jar is excluded by !**/*.jar
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 2a34d0b4-decb-4934-926a-76f5018de9ca
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
🔍 Trigger review
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
U-238
changed the title
\Add macOS Apple Silicon support to SevenZipJBinding
Add macOS Apple Silicon support to SevenZipJBinding
Aug 26, 2026
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
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.
This adds a macOS ARM64 native build of SevenZipJBinding to Autopsy’s bundled
sevenzipjbinding-AllPlatforms.jar.Autopsy 4.23.1 ships SevenZipJBinding
9.20-2.00beta, but the bundled platform JAR only contains native libraries for:On Apple Silicon, the JVM reports:
As a result, SevenZipJBinding initialization fails with:
This prevents Autopsy’s Embedded File Extractor from initializing on macOS ARM64.
The change adds:
and registers
Mac-aarch64in:The native library was built from the matching upstream SevenZipJBinding release:
and compiled natively for Apple Silicon:
The Java-side
sevenzipjbinding.jarin the Autopsy repository was verified to be byte-for-byte identical to the version used for the ARM64 native build:The resulting ARM64 dylib was also verified to load successfully using
System.load()on macOS.This allows SevenZipJBinding to select
Mac-aarch64as the platform and enables the Embedded File Extractor on Apple Silicon Macs.I've successfully tested this end-to-end by running the Embedded File Extractor in Autopsy on an Apple Silicon MacBook Pro running macOS 26.6.2.