Struct puffin::fuzzer::stages::PuffinMutationalStage
source · pub struct PuffinMutationalStage<E, EM, I, M, Z> {
mutator: M,
phantom: PhantomData<(E, EM, I, Z)>,
max_iterations_per_stage: u64,
}
Expand description
The default mutational stage
Fields§
§mutator: M
§phantom: PhantomData<(E, EM, I, Z)>
§max_iterations_per_stage: u64
Implementations§
Trait Implementations§
source§impl<E: Clone, EM: Clone, I: Clone, M: Clone, Z: Clone> Clone for PuffinMutationalStage<E, EM, I, M, Z>
impl<E: Clone, EM: Clone, I: Clone, M: Clone, Z: Clone> Clone for PuffinMutationalStage<E, EM, I, M, Z>
source§fn clone(&self) -> PuffinMutationalStage<E, EM, I, M, Z>
fn clone(&self) -> PuffinMutationalStage<E, EM, I, M, Z>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<E: Debug, EM: Debug, I: Debug, M: Debug, Z: Debug> Debug for PuffinMutationalStage<E, EM, I, M, Z>
impl<E: Debug, EM: Debug, I: Debug, M: Debug, Z: Debug> Debug for PuffinMutationalStage<E, EM, I, M, Z>
source§impl<E, EM, I, M, Z> MutationalStage<E, EM, I, M, Z> for PuffinMutationalStage<E, EM, I, M, Z>where
E: UsesState<State = Z::State>,
EM: UsesState<State = Z::State>,
M: Mutator<I, Z::State>,
Z: Evaluator<E, EM>,
Z::State: HasClientPerfMonitor + HasCorpus + HasRand,
I: MutatedTransform<Self::Input, Self::State> + Clone,
impl<E, EM, I, M, Z> MutationalStage<E, EM, I, M, Z> for PuffinMutationalStage<E, EM, I, M, Z>where
E: UsesState<State = Z::State>,
EM: UsesState<State = Z::State>,
M: Mutator<I, Z::State>,
Z: Evaluator<E, EM>,
Z::State: HasClientPerfMonitor + HasCorpus + HasRand,
I: MutatedTransform<Self::Input, Self::State> + Clone,
source§fn mutator_mut(&mut self) -> &mut M
fn mutator_mut(&mut self) -> &mut M
The list of mutators, added to this stage (as mutable ref)
source§fn iterations(
&self,
state: &mut Z::State,
_corpus_idx: CorpusId
) -> Result<u64, Error>
fn iterations(
&self,
state: &mut Z::State,
_corpus_idx: CorpusId
) -> Result<u64, Error>
Gets the number of iterations as a random number
source§impl<E, EM, I, M, Z> Stage<E, EM, Z> for PuffinMutationalStage<E, EM, I, M, Z>where
E: UsesState<State = Z::State>,
EM: UsesState<State = Z::State>,
M: Mutator<I, Z::State>,
Z: Evaluator<E, EM>,
Z::State: HasClientPerfMonitor + HasCorpus + HasRand,
I: MutatedTransform<Self::Input, Self::State> + Clone,
impl<E, EM, I, M, Z> Stage<E, EM, Z> for PuffinMutationalStage<E, EM, I, M, Z>where
E: UsesState<State = Z::State>,
EM: UsesState<State = Z::State>,
M: Mutator<I, Z::State>,
Z: Evaluator<E, EM>,
Z::State: HasClientPerfMonitor + HasCorpus + HasRand,
I: MutatedTransform<Self::Input, Self::State> + Clone,
source§impl<E, EM, I, M, Z> UsesState for PuffinMutationalStage<E, EM, I, M, Z>where
E: UsesState<State = Z::State>,
EM: UsesState<State = Z::State>,
M: Mutator<I, Z::State>,
Z: Evaluator<E, EM>,
Z::State: HasClientPerfMonitor + HasCorpus + HasRand,
impl<E, EM, I, M, Z> UsesState for PuffinMutationalStage<E, EM, I, M, Z>where
E: UsesState<State = Z::State>,
EM: UsesState<State = Z::State>,
M: Mutator<I, Z::State>,
Z: Evaluator<E, EM>,
Z::State: HasClientPerfMonitor + HasCorpus + HasRand,
Auto Trait Implementations§
impl<E, EM, I, M, Z> RefUnwindSafe for PuffinMutationalStage<E, EM, I, M, Z>where
E: RefUnwindSafe,
EM: RefUnwindSafe,
I: RefUnwindSafe,
M: RefUnwindSafe,
Z: RefUnwindSafe,
impl<E, EM, I, M, Z> Send for PuffinMutationalStage<E, EM, I, M, Z>where
E: Send,
EM: Send,
I: Send,
M: Send,
Z: Send,
impl<E, EM, I, M, Z> Sync for PuffinMutationalStage<E, EM, I, M, Z>where
E: Sync,
EM: Sync,
I: Sync,
M: Sync,
Z: Sync,
impl<E, EM, I, M, Z> Unpin for PuffinMutationalStage<E, EM, I, M, Z>where
E: Unpin,
EM: Unpin,
I: Unpin,
M: Unpin,
Z: Unpin,
impl<E, EM, I, M, Z> UnwindSafe for PuffinMutationalStage<E, EM, I, M, Z>where
E: UnwindSafe,
EM: UnwindSafe,
I: UnwindSafe,
M: UnwindSafe,
Z: UnwindSafe,
Blanket Implementations§
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.