Struct libafl::mutators::token_mutations::TokenReplace
source · [−]pub struct TokenReplace;
Expand description
A TokenReplace
Mutator
replaces a random part of the input with one of a range of tokens.
From AFL terms, this is called as Dictionary
mutation (which doesn’t really make sense ;) ).
Implementations
sourceimpl TokenReplace
impl TokenReplace
Trait Implementations
sourceimpl Debug for TokenReplace
impl Debug for TokenReplace
sourceimpl Default for TokenReplace
impl Default for TokenReplace
sourcefn default() -> TokenReplace
fn default() -> TokenReplace
Returns the “default value” for a type. Read more
sourceimpl<I, S> Mutator<I, S> for TokenReplacewhere
I: Input + HasBytesVec,
S: HasMetadata + HasRand + HasMaxSize,
impl<I, S> Mutator<I, S> for TokenReplacewhere
I: Input + HasBytesVec,
S: HasMetadata + HasRand + HasMaxSize,
Auto Trait Implementations
impl RefUnwindSafe for TokenReplace
impl Send for TokenReplace
impl Sync for TokenReplace
impl Unpin for TokenReplace
impl UnwindSafe for TokenReplace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
sourcefn 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.