Trait libafl::stages::StagesTuple

source ·
pub trait StagesTuple<E, EM, S, Z>
where E: UsesState<State = S>, EM: UsesState<State = S>, Z: UsesState<State = S>, S: UsesInput + HasCurrentStage,
{ // Required method fn perform_all( &mut self, fuzzer: &mut Z, executor: &mut E, state: &mut S, manager: &mut EM ) -> Result<(), Error>; }
Expand description

A tuple holding all Stages used for fuzzing.

Required Methods§

source

fn perform_all( &mut self, fuzzer: &mut Z, executor: &mut E, state: &mut S, manager: &mut EM ) -> Result<(), Error>

Performs all Stages in this tuple

Implementations on Foreign Types§

source§

impl<E, EM, S, Z> StagesTuple<E, EM, S, Z> for ()
where E: UsesState<State = S>, EM: UsesState<State = S>, Z: UsesState<State = S>, S: UsesInput + HasCurrentStage,

source§

fn perform_all( &mut self, _: &mut Z, _: &mut E, stage: &mut S, _: &mut EM ) -> Result<(), Error>

source§

impl<E, EM, S, Z> StagesTuple<E, EM, S, Z> for Vec<Box<dyn Stage<E, EM, Z, State = S, Input = S::Input>>>
where E: UsesState<State = S>, EM: UsesState<State = S>, Z: UsesState<State = S>, S: UsesInput + HasCurrentStage + State,

source§

fn perform_all( &mut self, fuzzer: &mut Z, executor: &mut E, state: &mut S, manager: &mut EM ) -> Result<(), Error>

source§

impl<Head, Tail, E, EM, Z> StagesTuple<E, EM, <Head as UsesState>::State, Z> for (Head, Tail)
where Head: Stage<E, EM, Z>, Tail: StagesTuple<E, EM, Head::State, Z> + HasConstLen, E: UsesState<State = Head::State>, EM: UsesState<State = Head::State>, Z: UsesState<State = Head::State>, Head::State: HasCurrentStage,

source§

fn perform_all( &mut self, fuzzer: &mut Z, executor: &mut E, state: &mut Head::State, manager: &mut EM ) -> Result<(), Error>

Implementors§