Trait libafl::executors::hooks::ExecutorHooksTuple
source · pub trait ExecutorHooksTuple<S>where
S: UsesInput,{
// Required methods
fn init_all<E: HasObservers>(&mut self, state: &mut S);
fn pre_exec_all(&mut self, state: &mut S, input: &S::Input);
fn post_exec_all(&mut self, state: &mut S, input: &S::Input);
}
Expand description
The hook that runs before and after the executor runs the target
Required Methods§
sourcefn init_all<E: HasObservers>(&mut self, state: &mut S)
fn init_all<E: HasObservers>(&mut self, state: &mut S)
Init these hooks
sourcefn pre_exec_all(&mut self, state: &mut S, input: &S::Input)
fn pre_exec_all(&mut self, state: &mut S, input: &S::Input)
The hooks that runs before runs the target
sourcefn post_exec_all(&mut self, state: &mut S, input: &S::Input)
fn post_exec_all(&mut self, state: &mut S, input: &S::Input)
The hooks that runs after runs the target
Object Safety§
This trait is not object safe.