Trait libafl::executors::HasExecHooksTuple[][src]

pub trait HasExecHooksTuple<EM, I, S> {
    fn pre_exec_all(
        &mut self,
        state: &mut S,
        mgr: &mut EM,
        input: &I
    ) -> Result<(), Error>;
fn post_exec_all(
        &mut self,
        state: &mut S,
        mgr: &mut EM,
        input: &I
    ) -> Result<(), Error>; }

A haskell-style tuple of objects that have pre and post exec hooks

Required methods

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

This is called right before the next execution.

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

This is called right after the last execution

Loading content...

Implementations on Foreign Types

impl<EM, I, S> HasExecHooksTuple<EM, I, S> for ()[src]

fn pre_exec_all(
    &mut self,
    _state: &mut S,
    _mgr: &mut EM,
    _input: &I
) -> Result<(), Error>
[src]

fn post_exec_all(
    &mut self,
    _state: &mut S,
    _mgr: &mut EM,
    _input: &I
) -> Result<(), Error>
[src]

impl<EM, I, S, Head, Tail> HasExecHooksTuple<EM, I, S> for (Head, Tail) where
    Head: HasExecHooks<EM, I, S>,
    Tail: HasExecHooksTuple<EM, I, S>, 
[src]

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

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

Loading content...

Implementors

Loading content...