Struct libafl::state::StdState[][src]

pub struct StdState<C, FT, I, R, SC> where
    C: Corpus<I>,
    I: Input,
    R: Rand,
    FT: FeedbackStatesTuple,
    SC: Corpus<I>, 
{ /* fields omitted */ }
Expand description

The state a fuzz run.

Implementations

Loads all intial inputs, even if they are not consiered intesting. This is rarely the right method, use load_initial_inputs, and potentially fix your Feedback, instead.

Loads initial inputs from the passed-in in_dirs.

Generate num initial inputs, using the passed-in generator and force the addition to corpus.

Generate num initial inputs, using the passed-in generator.

Creates a new State, taking ownership of all of the individual components during fuzzing.

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

Returns the corpus

Returns the mutable corpus

The executions counter

The executions counter (mut)

The feedback states

The feedback states (mut)

The maximum size hint for items and mutations returned

Sets the maximum size hint for the items and mutations

Get all the metadata into an hashbrown::HashMap

Get all the metadata into an hashbrown::HashMap (mutable)

Add a metadata to the metadata map

Check for a metadata

The rand instance

The rand instance (mut)

Returns the solutions corpus

Returns the solutions corpus (mut)

The starting time

The starting time (mut)

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.