Files
libsignal/rust/attest/fuzz
Alex Bakon fb33f261bf Upgrade crates to Rust 2024 edition
Co-authored-by: Andrew <andrew@signal.org>
2025-09-03 15:12:59 -04:00
..
2023-10-31 13:43:33 -04:00
2022-07-22 12:23:57 -07:00
2022-07-22 12:23:57 -07:00
2025-09-03 15:12:59 -04:00
2022-07-22 12:23:57 -07:00

This directory contains fuzz targets used with cargo fuzz.

// In the top-level source directory
cargo install cargo-fuzz
cargo fuzz list
cargo +nightly fuzz run <fuzz-target>

// If you have custom seed inputs
cargo +nightly fuzz run <fuzz-target> fuzz/corpus/<fuzz-target> fuzz/seeds/<fuzz-target>

// If you find a crash
RUST_BACKTRACE=1 cargo +nightly 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.