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.
Generate num
initial inputs, using the passed-in generator and force the addition to corpus.
Generate num
initial inputs, using the passed-in generator.
Trait Implementations
impl<'de, C, FT, I, R, SC> Deserialize<'de> for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
FT: DeserializeOwned,
impl<'de, C, FT, I, R, SC> Deserialize<'de> for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
FT: DeserializeOwned,
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
impl<C, FT, I, R, SC> HasClientPerfStats for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasClientPerfStats for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
ClientPerfStats
itself
Mutatable ref to ClientPerfStats
impl<C, FT, I, R, SC> HasExecutions for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasExecutions for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
The executions counter
The executions counter (mut)
impl<C, FT, I, R, SC> HasFeedbackStates<FT> for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasFeedbackStates<FT> for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
The feedback states
The feedback states (mut)
impl<C, FT, I, R, SC> HasMaxSize for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasMaxSize for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasMetadata for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasMetadata for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
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
impl<C, FT, I, R, SC> HasSolutions<SC, I> for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasSolutions<SC, I> for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasStartTime for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
impl<C, FT, I, R, SC> HasStartTime for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
The starting time
The starting time (mut)
impl<C, FT, I, R, SC> Serialize for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
FT: DeserializeOwned,
impl<C, FT, I, R, SC> Serialize for StdState<C, FT, I, R, SC> where
C: Corpus<I>,
I: Input,
R: Rand,
FT: FeedbackStatesTuple,
SC: Corpus<I>,
FT: DeserializeOwned,
Auto Trait Implementations
impl<C, FT, I, R, SC> !RefUnwindSafe for StdState<C, FT, I, R, SC>
impl<C, FT, I, R, SC> Unpin for StdState<C, FT, I, R, SC> where
C: Unpin,
FT: Unpin,
I: Unpin,
R: Unpin,
SC: Unpin,
impl<C, FT, I, R, SC> !UnwindSafe for StdState<C, FT, I, R, SC>
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