Struct libafl::events::NopEventManager
source ·
[−]pub struct NopEventManager {}
Expand description
An eventmgr for tests, and as placeholder if you really don’t need an event manager.
Trait Implementations
Send off an Event::Log
event to the broker
This is a shortcut for EventFirer::fire
with Event::Log
as argument. Read more
fn serialize_observers<OT, S>(
&mut self,
observers: &OT
) -> Result<Vec<u8>, Error> where
OT: ObserversTuple<I, S> + Serialize,
fn serialize_observers<OT, S>(
&mut self,
observers: &OT
) -> Result<Vec<u8>, Error> where
OT: ObserversTuple<I, S> + Serialize,
Serialize all observers for this type and manager
Get the configuration
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> + DeserializeOwned,
fn deserialize_observers<OT>(
&mut self,
observers_buf: &[u8]
) -> Result<OT, Error> where
OT: ObserversTuple<I, S> + DeserializeOwned,
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.
The id of this manager. For Multiprocessed EventManager
s,
each client sholud have a unique ids. Read more
fn maybe_report_progress<S>(
&mut self,
state: &mut S,
last_report_time: Duration,
monitor_timeout: Duration
) -> Result<Duration, Error> where
S: HasExecutions + HasClientPerfMonitor,
fn maybe_report_progress<S>(
&mut self,
state: &mut S,
last_report_time: Duration,
monitor_timeout: Duration
) -> Result<Duration, Error> where
S: HasExecutions + HasClientPerfMonitor,
Given the last time, if monitor_timeout
seconds passed, send off an info/monitor/heartbeat message to the broker.
Returns the new last
time (so the old one, unless monitor_timeout
time has passed and monitor have been sent)
Will return an crate::Error
, if the stats could not be sent. Read more
Auto Trait Implementations
impl RefUnwindSafe for NopEventManager
impl Send for NopEventManager
impl Sync for NopEventManager
impl Unpin for NopEventManager
impl UnwindSafe for NopEventManager
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