Skip to content

binwalk rewrite in Rust

Hello,

I see that diffoscope depends on python3-binwalk.

The binwalk package in Debian comes from upstream https://github.com/OSPG/binwalk. It's a fork, and as their README states:

EOL notice

This fork was born to fix some outsanding issues with binwalk v2 and generally to keep it in good shape. It served his purpose helping users and distro packagers alike. However, given the original author recently rewrote binwalk in rust and is in active development again, there is no need to maintain binwalk v2 anymore. Users and contributors should migrate to binwalk v3. This new version also provides a library in Rust, see https://github.com/ReFirmLabs/binwalk/wiki/Using-the-Rust-Library.

As a result, this repository will effectively be EOL at 12/12/2025, at which point this repository may be archived or removed.

So the original upstream resumed development, and just released a v3.1.0, and it's a rewrite in Rust: https://github.com/ReFirmLabs/binwalk. I don't see any Python file in there.

How does that play with the diffoscope? Can you make use of the Rust v3 at some point in the future, despite that it's written in Rust?

Cheers,

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information