Trait libafl::observers::ObserversTuple
source · [−]pub trait ObserversTuple<I, S>: MatchName + Debug {
fn pre_exec_all(&mut self, state: &mut S, input: &I) -> Result<(), Error>;
fn post_exec_all(
&mut self,
state: &mut S,
input: &I,
exit_kind: &ExitKind
) -> Result<(), Error>;
fn pre_exec_child_all(
&mut self,
state: &mut S,
input: &I
) -> Result<(), Error>;
fn post_exec_child_all(
&mut self,
state: &mut S,
input: &I,
exit_kind: &ExitKind
) -> Result<(), Error>;
}
Expand description
A haskell-style tuple of observers
Required Methods
This is called right before the next execution.
This is called right after the last execution
This is called right before the next execution in the child process, if any.