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

The state a fuzz run.

Implementations

Loads inputs from a directory. If forced is true, the value will be loaded, even if it’s not considered to be interesting.

Loads all intial inputs, even if they are not considered interesting. 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 associated type implementing Corpus.

The executions counter

The executions counter (mutable)

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

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 (mutable)

The associated type implementing Rand

Returns the solutions corpus

Returns the solutions corpus (mutable)

The associated type implementing Corpus for solutions

The starting time

The starting time (mutable)

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.