Enum libafl::events::Event[][src]

pub enum Event<I> where
    I: Input
{ NewTestcase { input: I, observers_buf: Option<Vec<u8>>, exit_kind: ExitKind, corpus_size: usize, client_config: EventConfig, time: Duration, executions: usize, }, UpdateExecStats { time: Duration, stability: Option<f32>, executions: usize, phantom: PhantomData<I>, }, UpdateUserStats { name: String, value: UserStats, phantom: PhantomData<I>, }, Objective { objective_size: usize, }, Log { severity_level: LogSeverity, message: String, phantom: PhantomData<I>, }, }
Expand description

Events sent around in the library

Variants

NewTestcase

Fields

input: I

The input for the new testcase

observers_buf: Option<Vec<u8>>

The state of the observers when this testcase was found

exit_kind: ExitKind

The exit kind

corpus_size: usize

The new corpus size of this client

client_config: EventConfig

The client config for this observers/testcase combination

time: Duration

The time of generation of the event

executions: usize

The executions of this client

A fuzzer found a new testcase. Rejoice!

UpdateExecStats

Fields

time: Duration

The time of generation of the Event

stability: Option<f32>

The stability of this fuzzer node, if known

executions: usize

The executions of this client

New stats event to monitor.

UpdateUserStats

Fields

name: String

Custom user monitor name

value: UserStats

Custom user monitor value

New user stats event to monitor.

Objective

Fields

objective_size: usize

Objective corpus size

A new objective was found

Log

Fields

severity_level: LogSeverity

the severity level

message: String

The message

phantom: PhantomData<I>

PhantomData

Write a new log

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.