Trait libafl::executors::HasObserversHooks [−][src]
pub trait HasObserversHooks<EM, I, OT, S, Z>: HasObservers<OT> where
OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>, { fn pre_exec_observers(
&mut self,
fuzzer: &mut Z,
state: &mut S,
mgr: &mut EM,
input: &I
) -> Result<(), Error> { ... } fn post_exec_observers(
&mut self,
fuzzer: &mut Z,
state: &mut S,
mgr: &mut EM,
input: &I
) -> Result<(), Error> { ... } }
Expand description
Execute the exec hooks of the observers if they all implement HasExecHooks
.
Provided methods
Implementors
impl<'a, EM, H, I, OT, S, Z> HasObserversHooks<EM, I, OT, S, Z> for InProcessExecutor<'a, H, I, OT, S> where
H: FnMut(&[u8]) -> ExitKind,
I: Input + HasTargetBytes,
OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
[src]
H: FnMut(&[u8]) -> ExitKind,
I: Input + HasTargetBytes,
OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
impl<A, B, EM, I, OT, S, Z> HasObserversHooks<EM, I, OT, S, Z> for CombinedExecutor<A, B, I> where
A: Executor<I> + HasObservers<OT>,
B: Executor<I>,
I: Input,
OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
[src]
A: Executor<I> + HasObservers<OT>,
B: Executor<I>,
I: Input,
OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
impl<E, EM, I, OT, S, Z> HasObserversHooks<EM, I, OT, S, Z> for TimeoutExecutor<E, I> where
E: Executor<I> + HasObservers<OT>,
I: Input,
OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
[src]
E: Executor<I> + HasObservers<OT>,
I: Input,
OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,