The subdirectories here contain various fuzz harnesses for vodozemac.
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
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