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