Trait libafl::events::EventFirer[][src]

pub trait EventFirer<I, S> where
    I: Input
{ fn fire(&mut self, state: &mut S, event: Event<I>) -> Result<(), Error>; fn serialize_observers<OT>(
        &mut self,
        observers: &OT
    ) -> Result<Vec<u8>, Error>
    where
        OT: ObserversTuple<I, S> + Serialize
, { ... }
fn configuration(&self) -> &str { ... } }
Expand description

EventFirer fire an event.

Required methods

Send off an Event to the broker

For multi-processed managers, such as llmp::LlmpEventManager, this serializes the Event and commits it to the llmp page. In this case, if you fire faster than the broker can consume (for example for each Input, on multiple cores) the llmp shared map may fill up and the client will eventually OOM or panic. This should not happen for a normal use-cases.

Provided methods

Serialize all observers for this type and manager

Get the configuration

Implementors