Trait libafl::executors::HasExecHooks [−][src]
pub trait HasExecHooks<EM, I, S> { fn pre_exec(
&mut self,
_state: &mut S,
_mgr: &mut EM,
_input: &I
) -> Result<(), Error> { ... } fn post_exec(
&mut self,
_state: &mut S,
_mgr: &mut EM,
_input: &I
) -> Result<(), Error> { ... } }
Pre and post exec hooks
Provided methods
fn pre_exec(
&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>
Called right before exexution starts
fn post_exec(
&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>
Called right after execution finished.
Implementors
impl<'a, EM, H, I, OT, S> HasExecHooks<EM, I, S> for InProcessExecutor<'a, EM, H, I, OT, S> where
H: FnMut(&[u8]) -> ExitKind,
I: Input + HasTargetBytes,
OT: ObserversTuple,
[src]
impl<'a, EM, H, I, OT, S> HasExecHooks<EM, I, S> for InProcessExecutor<'a, EM, H, I, OT, S> where
H: FnMut(&[u8]) -> ExitKind,
I: Input + HasTargetBytes,
OT: ObserversTuple,
[src]impl<'a, EM, I, S, T> HasExecHooks<EM, I, S> for StdMapObserver<'a, T> where
T: Default + Copy + 'static + Serialize + DeserializeOwned,
Self: MapObserver<T>,
[src]
impl<'a, EM, I, S, T> HasExecHooks<EM, I, S> for StdMapObserver<'a, T> where
T: Default + Copy + 'static + Serialize + DeserializeOwned,
Self: MapObserver<T>,
[src]impl<'a, EM, I, S, T> HasExecHooks<EM, I, S> for VariableMapObserver<'a, T> where
T: Default + Copy + 'static + Serialize + DeserializeOwned,
[src]
impl<'a, EM, I, S, T> HasExecHooks<EM, I, S> for VariableMapObserver<'a, T> where
T: Default + Copy + 'static + Serialize + DeserializeOwned,
[src]impl<E, EM, I, S> HasExecHooks<EM, I, S> for TimeoutExecutor<E, I> where
E: Executor<I> + HasExecHooks<EM, I, S>,
I: Input,
[src]
impl<E, EM, I, S> HasExecHooks<EM, I, S> for TimeoutExecutor<E, I> where
E: Executor<I> + HasExecHooks<EM, I, S>,
I: Input,
[src]impl<EM, I, S> HasExecHooks<EM, I, S> for TimeObserver
[src]
impl<EM, I, S> HasExecHooks<EM, I, S> for TimeObserver
[src]impl<EM, I, S, M> HasExecHooks<EM, I, S> for HitcountsMapObserver<M> where
M: MapObserver<u8> + HasExecHooks<EM, I, S>,
[src]
impl<EM, I, S, M> HasExecHooks<EM, I, S> for HitcountsMapObserver<M> where
M: MapObserver<u8> + HasExecHooks<EM, I, S>,
[src]