Struct libafl::mutators::grimoire::GrimoireRandomDeleteMutator
source · pub struct GrimoireRandomDeleteMutator { /* private fields */ }
Expand description
Randomly delete a part of the generalized input
Implementations§
source§impl GrimoireRandomDeleteMutator
impl GrimoireRandomDeleteMutator
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new GrimoireExtensionMutator
.
Trait Implementations§
source§impl Debug for GrimoireRandomDeleteMutator
impl Debug for GrimoireRandomDeleteMutator
source§impl Default for GrimoireRandomDeleteMutator
impl Default for GrimoireRandomDeleteMutator
source§fn default() -> GrimoireRandomDeleteMutator
fn default() -> GrimoireRandomDeleteMutator
Returns the “default value” for a type. Read more
source§impl<S> Mutator<GeneralizedInputMetadata, S> for GrimoireRandomDeleteMutatorwhere
S: HasMetadata + HasRand + HasCorpus,
impl<S> Mutator<GeneralizedInputMetadata, S> for GrimoireRandomDeleteMutatorwhere
S: HasMetadata + HasRand + HasCorpus,
source§fn mutate(
&mut self,
state: &mut S,
generalised_meta: &mut GeneralizedInputMetadata,
_stage_idx: i32
) -> Result<MutationResult, Error>
fn mutate(
&mut self,
state: &mut S,
generalised_meta: &mut GeneralizedInputMetadata,
_stage_idx: i32
) -> Result<MutationResult, Error>
Mutate a given input
Auto Trait Implementations§
impl RefUnwindSafe for GrimoireRandomDeleteMutator
impl Send for GrimoireRandomDeleteMutator
impl Sync for GrimoireRandomDeleteMutator
impl Unpin for GrimoireRandomDeleteMutator
impl UnwindSafe for GrimoireRandomDeleteMutator
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.