Trait libafl::stages::mutational::MutationalStage[][src]

pub trait MutationalStage<C, E, EM, I, M, S, Z>: Stage<E, EM, S, Z> where
    C: Corpus<I>,
    M: Mutator<I, S>,
    I: Input,
    S: HasClientPerfStats + HasCorpus<C, I>,
    Z: Evaluator<E, EM, I, S>, 
{ fn mutator(&self) -> &M;
fn mutator_mut(&mut self) -> &mut M;
fn iterations(&self, state: &mut S) -> usize; fn perform_mutational(
        &mut self,
        fuzzer: &mut Z,
        executor: &mut E,
        state: &mut S,
        manager: &mut EM,
        corpus_idx: usize
    ) -> Result<(), Error> { ... } }
Expand description

A Mutational stage is the stage in a fuzzing run that mutates inputs. Mutational stages will usually have a range of mutations that are being applied to the input one by one, between executions.

Required methods

The mutator registered for this stage

The mutator registered for this stage (mutable)

Gets the number of iterations this mutator should run for.

Provided methods

Runs this (mutational) stage for the given testcase

Implementors