Trait libafl::executors::HasObservers[][src]

pub trait HasObservers<OT> where
    OT: ObserversTuple
{ fn observers(&self) -> &OT;
fn observers_mut(&mut self) -> &mut OT; fn pre_exec_observers(&mut self) -> Result<(), Error> { ... }
fn post_exec_observers(&mut self) -> Result<(), Error> { ... } }

Required methods

fn observers(&self) -> &OT[src]

Get the linked observers

fn observers_mut(&mut self) -> &mut OT[src]

Get the linked observers

Loading content...

Provided methods

fn pre_exec_observers(&mut self) -> Result<(), Error>[src]

Reset the state of all the observes linked to this executor

fn post_exec_observers(&mut self) -> Result<(), Error>[src]

Run the post exec hook for all the observes linked to this executor

Loading content...

Implementors

impl<'a, H, I, OT> HasObservers<OT> for InProcessExecutor<'a, H, I, OT> where
    H: FnMut(&[u8]) -> ExitKind,
    I: Input + HasTargetBytes,
    OT: ObserversTuple
[src]

impl<E, I, OT> HasObservers<OT> for TimeoutExecutor<E, I, OT> where
    E: Executor<I> + HasObservers<OT>,
    I: Input + HasTargetBytes,
    OT: ObserversTuple
[src]

Loading content...