Files
libsignal/rust/protocol/fuzz/README.md
Jordan Rose e80339c15f protocol: Add a fuzz target that runs interactions between two clients
Based on the fuzzing input, this simulates message sends and receives,
out-of-order delivery, dropped messages, and session resets, solely to
find bugs in happy-path interaction between two clients.
2021-08-13 16:09:04 -07:00

391 B

This directory contains fuzz targets used with cargo fuzz.

// In the parent directory (rust/protocol)
cargo install cargo-fuzz
cargo fuzz list
cargo fuzz run <fuzz-target>

// If you find a crash
RUST_BACKTRACE=1 cargo fuzz run -D <fuzz-target> <crash-artifact>

For more information, including how to check the coverage of the explored corpus, see https://rust-fuzz.github.io.