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

pub enum Event<I> where
    I: Input
{ NewTestcase { input: I, observers_buf: Vec<u8>, exit_kind: ExitKind, corpus_size: usize, client_config: String, time: Duration, executions: usize, }, UpdateStats { time: Duration, 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

A fuzzer found a new testcase. Rejoice!

Fields of NewTestcase

input: I

The input for the new testcase

observers_buf: 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: String

The client config for this observers/testcase combination

time: Duration

The time of generation of the event

executions: usize

The executions of this client

UpdateStats

New stats.

Fields of UpdateStats

time: Duration

The time of generation of the Event

executions: usize

The executions of this client

phantom: PhantomData<I>
UpdateUserStats

New stats.

Fields of UpdateUserStats

name: String

Custom user stats name

value: UserStats

Custom user stats value

phantom: PhantomData<I>
Objective

A new objective was found

Fields of Objective

objective_size: usize

Objective corpus size

Log

Write a new log

Fields of Log

severity_level: LogSeverity

the severity level

message: String

The message

phantom: PhantomData<I>

PhantomData

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)

recently added

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.