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]

Run the pre exec hook for all crate::observers::Observers linked to this Executor.

fn post_exec_observers(
    &mut self,
    state: &mut S,
    mgr: &mut EM,
    input: &I
) -> Result<(), Error>
[src]

Run the post exec hook for all the crate::observers::Observers linked to this Executor.

Loading content...

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]

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]

Loading content...