Struct libafl::stages::tuneable::TuneableMutationalStage
source · pub struct TuneableMutationalStage<E, EM, I, M, Z> { /* private fields */ }
Expand description
A crate::stages::MutationalStage
where the mutator iteration can be tuned at runtime
Implementations§
source§impl<E, EM, M, Z> TuneableMutationalStage<E, EM, Z::Input, M, Z>where
E: UsesState<State = Z::State>,
EM: UsesState<State = Z::State>,
M: Mutator<Z::Input, Z::State>,
Z: Evaluator<E, EM>,
Z::State: HasClientPerfMonitor + HasCorpus + HasRand + HasMetadata,
impl<E, EM, M, Z> TuneableMutationalStage<E, EM, Z::Input, M, Z>where
E: UsesState<State = Z::State>,
EM: UsesState<State = Z::State>,
M: Mutator<Z::Input, Z::State>,
Z: Evaluator<E, EM>,
Z::State: HasClientPerfMonitor + HasCorpus + HasRand + HasMetadata,
source§impl<E, EM, I, M, Z> TuneableMutationalStage<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 + HasMetadata,
impl<E, EM, I, M, Z> TuneableMutationalStage<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 + HasMetadata,
sourcepub fn transforming(state: &mut Z::State, mutator: M) -> Self
pub fn transforming(state: &mut Z::State, mutator: M) -> Self
Creates a new tranforming mutational stage
Trait Implementations§
source§impl<E: Clone, EM: Clone, I: Clone, M: Clone, Z: Clone> Clone for TuneableMutationalStage<E, EM, I, M, Z>
impl<E: Clone, EM: Clone, I: Clone, M: Clone, Z: Clone> Clone for TuneableMutationalStage<E, EM, I, M, Z>
source§fn clone(&self) -> TuneableMutationalStage<E, EM, I, M, Z>
fn clone(&self) -> TuneableMutationalStage<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 TuneableMutationalStage<E, EM, I, M, Z>
impl<E: Debug, EM: Debug, I: Debug, M: Debug, Z: Debug> Debug for TuneableMutationalStage<E, EM, I, M, Z>
source§impl<E, EM, I, M, Z> MutationalStage<E, EM, I, M, Z> for TuneableMutationalStage<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 + HasMetadata,
I: MutatedTransform<Z::Input, Z::State> + Clone,
impl<E, EM, I, M, Z> MutationalStage<E, EM, I, M, Z> for TuneableMutationalStage<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 + HasMetadata,
I: MutatedTransform<Z::Input, Z::State> + Clone,
source§impl<E, EM, I, M, Z> Stage<E, EM, Z> for TuneableMutationalStage<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 + HasMetadata,
I: MutatedTransform<Z::Input, Z::State> + Clone,
impl<E, EM, I, M, Z> Stage<E, EM, Z> for TuneableMutationalStage<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 + HasMetadata,
I: MutatedTransform<Z::Input, Z::State> + Clone,
source§impl<E, EM, I, M, Z> UsesState for TuneableMutationalStage<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<Z::Input, Z::State> + Clone,
impl<E, EM, I, M, Z> UsesState for TuneableMutationalStage<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<Z::Input, Z::State> + Clone,
Auto Trait Implementations§
impl<E, EM, I, M, Z> RefUnwindSafe for TuneableMutationalStage<E, EM, I, M, Z>where
E: RefUnwindSafe,
EM: RefUnwindSafe,
I: RefUnwindSafe,
M: RefUnwindSafe,
Z: RefUnwindSafe,
impl<E, EM, I, M, Z> Send for TuneableMutationalStage<E, EM, I, M, Z>where
E: Send,
EM: Send,
I: Send,
M: Send,
Z: Send,
impl<E, EM, I, M, Z> Sync for TuneableMutationalStage<E, EM, I, M, Z>where
E: Sync,
EM: Sync,
I: Sync,
M: Sync,
Z: Sync,
impl<E, EM, I, M, Z> Unpin for TuneableMutationalStage<E, EM, I, M, Z>where
E: Unpin,
EM: Unpin,
I: Unpin,
M: Unpin,
Z: Unpin,
impl<E, EM, I, M, Z> UnwindSafe for TuneableMutationalStage<E, EM, I, M, Z>where
E: UnwindSafe,
EM: UnwindSafe,
I: UnwindSafe,
M: UnwindSafe,
Z: UnwindSafe,
Blanket Implementations§
source§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.source§fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.