Trait libafl::fuzzer::ExecutesInput

source ·
pub trait ExecutesInput<E, EM>: UsesState
where E: UsesState<State = Self::State>, EM: UsesState<State = Self::State>,
{ // Required method fn execute_input( &mut self, state: &mut Self::State, executor: &mut E, event_mgr: &mut EM, input: &<Self::State as UsesInput>::Input ) -> Result<ExitKind, Error>; }
Expand description

Structs with this trait will execute an input

Required Methods§

source

fn execute_input( &mut self, state: &mut Self::State, executor: &mut E, event_mgr: &mut EM, input: &<Self::State as UsesInput>::Input ) -> Result<ExitKind, Error>

Runs the input and triggers observers and feedback

Implementors§

source§

impl<CS, E, EM, F, OF> ExecutesInput<E, EM> for StdFuzzer<CS, F, OF, E::Observers>
where CS: Scheduler, F: Feedback<CS::State>, OF: Feedback<CS::State>, E: Executor<EM, Self> + HasObservers<State = CS::State>, EM: UsesState<State = CS::State>, CS::State: UsesInput + HasExecutions + HasCorpus,