pub struct FuzzProducer { /* private fields */ }Expand description
Producer adapter that drives a FuzzRun and converts the result
into a Report.
Subprocess failures (missing tool, missing nightly, target not
found, libFuzzer harness error) map to a single failing
CheckResult named fuzz::<target> with Severity::Critical. No
panics.
§Example
use dev_fuzz::{FuzzBudget, FuzzProducer, FuzzRun};
use dev_report::Producer;
use std::time::Duration;
let producer = FuzzProducer::new(
FuzzRun::new("parse_input", "0.1.0")
.budget(FuzzBudget::time(Duration::from_secs(60))),
);
let report = producer.produce();
println!("{}", report.to_json().unwrap());Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FuzzProducer
impl RefUnwindSafe for FuzzProducer
impl Send for FuzzProducer
impl Sync for FuzzProducer
impl Unpin for FuzzProducer
impl UnsafeUnpin for FuzzProducer
impl UnwindSafe for FuzzProducer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more