Struct libafl::mutators::grimoire::GrimoireStringReplacementMutator
source · pub struct GrimoireStringReplacementMutator {}
Expand description
Replace matching tokens with others from the tokens metadata
Implementations§
source§impl GrimoireStringReplacementMutator
impl GrimoireStringReplacementMutator
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new GrimoireExtensionMutator
.
Trait Implementations§
source§impl Default for GrimoireStringReplacementMutator
impl Default for GrimoireStringReplacementMutator
source§fn default() -> GrimoireStringReplacementMutator
fn default() -> GrimoireStringReplacementMutator
Returns the “default value” for a type. Read more
source§impl<S> Mutator<GeneralizedInputMetadata, S> for GrimoireStringReplacementMutatorwhere
S: HasMetadata + HasRand + HasCorpus,
impl<S> Mutator<GeneralizedInputMetadata, S> for GrimoireStringReplacementMutatorwhere
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 GrimoireStringReplacementMutator
impl Send for GrimoireStringReplacementMutator
impl Sync for GrimoireStringReplacementMutator
impl Unpin for GrimoireStringReplacementMutator
impl UnwindSafe for GrimoireStringReplacementMutator
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.