Skip to content

Latest commit

 

History

History

afl

AFL based fuzz setup for vodozemac

The subdirectories here contain various fuzz harnesses for vodozemac.

Setup

You will need a nightly Rust compiler for this to work:

$ rustup toolchain install nightly

After that afl-rs needs to be installed, the complete setup guide can be found here, you can install afl with cargo:

$ cargo install cargo-afl

Fuzzing

To start fuzzing using one of the provided harnesses enter the subdirectory of the harness.

For example,

$ cd afl/olm-message-decoding

Build the harness using the cargo afl command:

$ cargo afl build

Start fuzzing using the cargo afl command, for example:

$ cargo afl fuzz -i in -o out target/debug/olm-message-decoding