Struct libafl::events::simple::SimpleEventManager [−][src]
Expand description
A simple, single-threaded event manager that just logs
Implementations
Creates a new SimpleEventManager
.
Trait Implementations
Send off an event to the broker
fn serialize_observers<OT>(&mut self, observers: &OT) -> Result<Vec<u8>, Error> where
OT: ObserversTuple<I, S>,
fn serialize_observers<OT>(&mut self, observers: &OT) -> Result<Vec<u8>, Error> where
OT: ObserversTuple<I, S>,
Serialize all observers for this type and manager
Get the configuration
impl<E, I, S, ST, Z> EventProcessor<E, I, S, Z> for SimpleEventManager<I, ST> where
I: Input,
ST: Stats,
impl<E, I, S, ST, Z> EventProcessor<E, I, S, Z> for SimpleEventManager<I, ST> where
I: Input,
ST: Stats,
Lookup for incoming events and process them. Return the number of processes events or an error Read more
fn deserialize_observers<OT>(
&mut self,
observers_buf: &[u8]
) -> Result<OT, Error> where
OT: ObserversTuple<I, S>,
fn deserialize_observers<OT>(
&mut self,
observers_buf: &[u8]
) -> Result<OT, Error> where
OT: ObserversTuple<I, S>,
Deserialize all observers for this type and manager
For restarting event managers, implement a way to forward state to their next peers.
Block until we are safe to exit.
impl<E, I, S, ST, Z> EventManager<E, I, S, Z> for SimpleEventManager<I, ST> where
I: Input,
ST: Stats,
Auto Trait Implementations
impl<I, ST> RefUnwindSafe for SimpleEventManager<I, ST> where
I: RefUnwindSafe,
ST: RefUnwindSafe,
impl<I, ST> Send for SimpleEventManager<I, ST> where
I: Send,
ST: Send,
impl<I, ST> Sync for SimpleEventManager<I, ST> where
I: Sync,
ST: Sync,
impl<I, ST> Unpin for SimpleEventManager<I, ST> where
I: Unpin,
ST: Unpin,
impl<I, ST> UnwindSafe for SimpleEventManager<I, ST> where
I: UnwindSafe,
ST: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
type Output = T
type Output = T
Should always be Self