Struct libafl::mutators::encoded_mutations::EncodedRandMutator
source · pub struct EncodedRandMutator;
Expand description
Set a code in the input as a random value
Implementations§
source§impl EncodedRandMutator
impl EncodedRandMutator
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new EncodedRandMutator
.
Trait Implementations§
source§impl Debug for EncodedRandMutator
impl Debug for EncodedRandMutator
source§impl Default for EncodedRandMutator
impl Default for EncodedRandMutator
source§fn default() -> EncodedRandMutator
fn default() -> EncodedRandMutator
Returns the “default value” for a type. Read more
source§impl<S: HasRand> Mutator<EncodedInput, S> for EncodedRandMutator
impl<S: HasRand> Mutator<EncodedInput, S> for EncodedRandMutator
source§fn mutate(
&mut self,
state: &mut S,
input: &mut EncodedInput,
_stage_idx: i32
) -> Result<MutationResult, Error>
fn mutate(
&mut self,
state: &mut S,
input: &mut EncodedInput,
_stage_idx: i32
) -> Result<MutationResult, Error>
Mutate a given input
Auto Trait Implementations§
impl RefUnwindSafe for EncodedRandMutator
impl Send for EncodedRandMutator
impl Sync for EncodedRandMutator
impl Unpin for EncodedRandMutator
impl UnwindSafe for EncodedRandMutator
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.