Expand description
§dev-fuzz
Fuzzing harness integration for Rust. Part of the dev-*
verification suite.
Wraps cargo-fuzz (libFuzzer-based) and emits findings as
dev-report::Report. Captures crashes, timeouts, and OOM events
with reproducer inputs attached.
§What is fuzzing?
Fuzzing feeds random or guided-random inputs to your code looking for crashes, panics, or unexpected behavior. It’s especially valuable for parsers, deserializers, network protocol handlers, and anything that touches untrusted input.
§Quick example
use dev_fuzz::{FuzzRun, FuzzBudget};
use std::time::Duration;
let run = FuzzRun::new("parse_input", "0.1.0")
.budget(FuzzBudget::time(Duration::from_secs(60)));
let result = run.execute().unwrap();
let report = result.into_report();§Status
Pre-1.0. API shape defined; subprocess integration lands in 0.9.1.
Structs§
- Fuzz
Finding - A single fuzz finding.
- Fuzz
Result - Result of a fuzz run.
- FuzzRun
- Configuration for a fuzz run.
Enums§
- Fuzz
Budget - Budget for a fuzz run.
- Fuzz
Error - Errors that can arise during a fuzz run.
- Fuzz
Finding Kind - Type of finding discovered during a fuzz run.