Skip to content

Files

Latest commit

3d655ad · Jan 17, 2025

History

History

afl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 30, 2022
Nov 30, 2022
Nov 30, 2022
Nov 30, 2022
Nov 30, 2022
Nov 30, 2022
Jan 14, 2025
Jan 17, 2025
Aug 6, 2024

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