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
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
New stats event to monitor.
UpdateUserStats
Fields
name: String
Custom user monitor name
value: UserStats
Custom user monitor value
phantom: PhantomData<I>
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
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