Struct fuzzcheck::builder::FuzzerBuilder5
source · [−]pub struct FuzzerBuilder5<F, M, V, Sens, P> where
F: Fn(&V) -> bool + 'static,
V: Clone + 'static,
M: Mutator<V>,
Sens: Sensor,
P: CompatibleWithObservations<Sens::Observations>, { /* private fields */ }
Expand description
A fuzz-test builder that knows every necessary detail to start fuzzing.
Use self.launch()
to start fuzzing.
You can also override some arguments using:
Implementations
sourceimpl<F, M, V, Sens, P> FuzzerBuilder5<F, M, V, Sens, P> where
F: Fn(&V) -> bool + 'static,
V: Clone + 'static,
M: Mutator<V>,
Sens: Sensor + 'static,
P: CompatibleWithObservations<Sens::Observations> + 'static,
Fuzzer<V, M>: 'static,
impl<F, M, V, Sens, P> FuzzerBuilder5<F, M, V, Sens, P> where
F: Fn(&V) -> bool + 'static,
V: Clone + 'static,
M: Mutator<V>,
Sens: Sensor + 'static,
P: CompatibleWithObservations<Sens::Observations> + 'static,
Fuzzer<V, M>: 'static,
pub fn command(self, command: FuzzerCommand) -> Self
pub fn in_corpus(self, path: Option<&Path>) -> Self
pub fn out_corpus(self, path: Option<&Path>) -> Self
pub fn artifacts_folder(self, path: Option<&Path>) -> Self
pub fn maximum_complexity(self, max_input_cplx: f64) -> Self
pub fn stop_after_iterations(self, number_of_iterations: usize) -> Self
pub fn stop_after_duration(self, duration: Duration) -> Self
pub fn stop_after_first_test_failure(
self,
stop_after_first_test_failure: bool
) -> Self
sourcepub fn launch(self) -> FuzzingResult<V>
pub fn launch(self) -> FuzzingResult<V>
Launch the fuzz test!
Auto Trait Implementations
impl<F, M, V, Sens, P> !RefUnwindSafe for FuzzerBuilder5<F, M, V, Sens, P>
impl<F, M, V, Sens, P> !Send for FuzzerBuilder5<F, M, V, Sens, P>
impl<F, M, V, Sens, P> !Sync for FuzzerBuilder5<F, M, V, Sens, P>
impl<F, M, V, Sens, P> Unpin for FuzzerBuilder5<F, M, V, Sens, P> where
F: Unpin,
M: Unpin,
P: Unpin,
Sens: Unpin,
impl<F, M, V, Sens, P> !UnwindSafe for FuzzerBuilder5<F, M, V, Sens, P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more