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
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
New stats.
Fields of UpdateStats
time: Duration
The time of generation of the Event
executions: usize
The executions of this client
phantom: PhantomData<I>
New stats.
Fields of UpdateUserStats
A new objective was found
Fields of Objective
objective_size: usize
Objective corpus size
Write a new log
Fields of Log
severity_level: LogSeverity
the severity level
message: String
The message
phantom: PhantomData<I>
PhantomData
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<I> RefUnwindSafe for Event<I> where
I: RefUnwindSafe,
impl<I> UnwindSafe for Event<I> where
I: UnwindSafe,
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
type Output = T
type Output = T
Should always be Self