Struct libafl::mutators::mutations::ByteAddMutator
source · pub struct ByteAddMutator;
Expand description
Adds or subtracts a random value up to ARITH_MAX
to a [<$size>
] at a random place in the Vec
, in random byte order.
Implementations§
Trait Implementations§
source§impl Debug for ByteAddMutator
impl Debug for ByteAddMutator
source§impl Default for ByteAddMutator
impl Default for ByteAddMutator
source§fn default() -> ByteAddMutator
fn default() -> ByteAddMutator
Returns the “default value” for a type. Read more
source§impl<I, S> Mutator<I, S> for ByteAddMutatorwhere
S: HasRand,
I: HasBytesVec,
impl<I, S> Mutator<I, S> for ByteAddMutatorwhere
S: HasRand,
I: HasBytesVec,
Auto Trait Implementations§
impl RefUnwindSafe for ByteAddMutator
impl Send for ByteAddMutator
impl Sync for ByteAddMutator
impl Unpin for ByteAddMutator
impl UnwindSafe for ByteAddMutator
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.