Function lain::driver::start_fuzzer[][src]

pub fn start_fuzzer<F: 'static, C: 'static, T: 'static + Send + Sync>(
    driver: Arc<FuzzerDriver<T>>,
    callback: F
) where
    F: Fn(&mut Mutator<StdRng>, &mut C, Option<Arc<RwLock<T>>>) -> Result<(), ()> + Send + Sync + Copy,
    C: Default
Expand description

Kicks off a fuzzing job using the driver and callback function.

The callback should look something like:

fn iteration_routine<R: Rng>(mutator: &mut Mutator<R>, thread_context: &mut FuzzerThreadContext, _global_context: Option<Arc<RwLock<GlobalContext>>>) -> Result<(), ()>