Struct libafl::events::simple::SimpleRestartingEventManager[][src]

pub struct SimpleRestartingEventManager<'a, C, I, MT, S, SC, SP> where
    C: Corpus<I>,
    I: Input,
    S: Serialize,
    SP: ShMemProvider,
    MT: Monitor
{ /* fields omitted */ }
Expand description

Provides a builder which can be used to build a SimpleRestartingEventManager, which is a combination of a restarter and runner, that can be used on systems both with and without fork support. The restarter will start a new process each time the child crashes or times out.

Implementations

Launch the simple restarting manager. This EventManager is simple and single threaded, but can still used shared maps to recover from crashes and timeouts.

Trait Implementations

Send off an Event to the broker Read more

Send off an Event::Log event to the broker This is a shortcut for EventFirer::fire with Event::Log as argument. Read more

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

Deserialize all observers for this type and manager

Reset the single page (we reuse it over and over from pos 0), then send the current state to the next runner.

Block until we are safe to exit.

The id of this manager. For Multiprocessed EventManagers, each client sholud have a unique ids. Read more

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

Prepend a value to this tuple, returning a new tuple with prepended value.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.