Struct libafl::mutators::encoded_mutations::EncodedDecMutator
source · pub struct EncodedDecMutator;
Expand description
Decrement a random code in the input
Implementations§
source§impl EncodedDecMutator
impl EncodedDecMutator
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new EncodedDecMutator
.
Trait Implementations§
source§impl Debug for EncodedDecMutator
impl Debug for EncodedDecMutator
source§impl Default for EncodedDecMutator
impl Default for EncodedDecMutator
source§fn default() -> EncodedDecMutator
fn default() -> EncodedDecMutator
Returns the “default value” for a type. Read more
source§impl<S: HasRand> Mutator<EncodedInput, S> for EncodedDecMutator
impl<S: HasRand> Mutator<EncodedInput, S> for EncodedDecMutator
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 EncodedDecMutator
impl Send for EncodedDecMutator
impl Sync for EncodedDecMutator
impl Unpin for EncodedDecMutator
impl UnwindSafe for EncodedDecMutator
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.