Trait libafl::events::EventProcessor [−][src]
pub trait EventProcessor<E, S, Z> { fn process(
&mut self,
fuzzer: &mut Z,
state: &mut S,
executor: &mut E
) -> Result<usize, Error>; fn serialize_observers<OT>(
&mut self,
observers: &OT
) -> Result<Vec<u8>, Error>
where
OT: ObserversTuple, { ... } fn deserialize_observers<OT>(
&mut self,
observers_buf: &[u8]
) -> Result<OT, Error>
where
OT: ObserversTuple, { ... } }
Expand description
EventProcessor
process all the incoming messages
Required methods
Provided methods
fn serialize_observers<OT>(&mut self, observers: &OT) -> Result<Vec<u8>, Error> where
OT: ObserversTuple,
[src]
fn serialize_observers<OT>(&mut self, observers: &OT) -> Result<Vec<u8>, Error> where
OT: ObserversTuple,
[src]Serialize all observers for this type and manager
fn deserialize_observers<OT>(
&mut self,
observers_buf: &[u8]
) -> Result<OT, Error> where
OT: ObserversTuple,
[src]
fn deserialize_observers<OT>(
&mut self,
observers_buf: &[u8]
) -> Result<OT, Error> where
OT: ObserversTuple,
[src]Deserialize all observers for this type and manager
Implementors
impl<E, I, OT, S, SP, ST, Z> EventProcessor<E, S, Z> for LlmpEventManager<I, OT, S, SP, ST> where
SP: ShMemProvider,
ST: Stats,
E: Executor<I>,
I: Input,
OT: ObserversTuple,
Z: IfInteresting<I, S> + IsInteresting<I, OT, S>,
[src]
impl<E, I, OT, S, SP, ST, Z> EventProcessor<E, S, Z> for LlmpEventManager<I, OT, S, SP, ST> where
SP: ShMemProvider,
ST: Stats,
E: Executor<I>,
I: Input,
OT: ObserversTuple,
Z: IfInteresting<I, S> + IsInteresting<I, OT, S>,
[src]impl<E, I, OT, S, SP, ST, Z> EventProcessor<E, S, Z> for LlmpRestartingEventManager<I, OT, S, SP, ST> where
E: Executor<I>,
I: Input,
Z: IfInteresting<I, S> + IsInteresting<I, OT, S>,
OT: ObserversTuple,
SP: ShMemProvider + 'static,
ST: Stats,
[src]
impl<E, I, OT, S, SP, ST, Z> EventProcessor<E, S, Z> for LlmpRestartingEventManager<I, OT, S, SP, ST> where
E: Executor<I>,
I: Input,
Z: IfInteresting<I, S> + IsInteresting<I, OT, S>,
OT: ObserversTuple,
SP: ShMemProvider + 'static,
ST: Stats,
[src]impl<E, I, S, ST, Z> EventProcessor<E, S, Z> for SimpleEventManager<I, ST> where
I: Input,
ST: Stats,
[src]
impl<E, I, S, ST, Z> EventProcessor<E, S, Z> for SimpleEventManager<I, ST> where
I: Input,
ST: Stats,
[src]