Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Latest commit

History

History

fuzzing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

Fuzzing Binwalk

Fuzz testing for Binwalk is done through AFL++.

At the moment code coverage is not 100% complete, but exercises the file parsing code, which is the most problematic and error-prone.

Fuzzer Dependencies

You must have a C compiler and make installed, as well as the cargo-afl crate:

sudo apt install build-essentials
cargo install cargo-afl

Building the Fuzzer

cargo afl build --release

Running the Fuzzer

You must provide an input directory containing sample files for the fuzzer to mutate.

You must provide an output directory for the fuzzer to save crash results to.

cargo afl fuzz -i input_directory -o output_directory ./target/release/fuzz