Trait libafl::mutators::Mutator[][src]

pub trait Mutator<I, S> where
    I: Input
{ fn mutate(
        &mut self,
        state: &mut S,
        input: &mut I,
        stage_idx: i32
    ) -> Result<MutationResult, Error>; fn post_exec(
        &mut self,
        _state: &mut S,
        _stage_idx: i32,
        _corpus_idx: Option<usize>
    ) -> Result<(), Error> { ... } }
Expand description

A mutator takes input, and mutates it. Simple as that.

Required methods

Mutate a given input

Provided methods

Post-process given the outcome of the execution

Implementors