Skip to main content

Crate dev_fuzz

Crate dev_fuzz 

Source
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§

FuzzFinding
A single fuzz finding.
FuzzResult
Result of a fuzz run.
FuzzRun
Configuration for a fuzz run.

Enums§

FuzzBudget
Budget for a fuzz run.
FuzzError
Errors that can arise during a fuzz run.
FuzzFindingKind
Type of finding discovered during a fuzz run.