Struct libafl::schedulers::RandScheduler
source · pub struct RandScheduler<S> { /* private fields */ }
Expand description
Feed the fuzzer simply with a random testcase on request
Implementations§
source§impl<S> RandScheduler<S>
impl<S> RandScheduler<S>
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new RandScheduler
that just schedules randomly.
Trait Implementations§
source§impl<S: Clone> Clone for RandScheduler<S>
impl<S: Clone> Clone for RandScheduler<S>
source§fn clone(&self) -> RandScheduler<S>
fn clone(&self) -> RandScheduler<S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<S: Debug> Debug for RandScheduler<S>
impl<S: Debug> Debug for RandScheduler<S>
source§impl<S> Default for RandScheduler<S>
impl<S> Default for RandScheduler<S>
source§impl<S> Scheduler for RandScheduler<S>where
S: HasCorpus + HasRand,
impl<S> Scheduler for RandScheduler<S>where
S: HasCorpus + HasRand,
source§fn next(&self, state: &mut Self::State) -> Result<CorpusId, Error>
fn next(&self, state: &mut Self::State) -> Result<CorpusId, Error>
Gets the next entry at random
source§fn on_add(&self, _state: &mut Self::State, _idx: CorpusId) -> Result<(), Error>
fn on_add(&self, _state: &mut Self::State, _idx: CorpusId) -> Result<(), Error>
Added an entry to the corpus at the given index
Auto Trait Implementations§
impl<S> RefUnwindSafe for RandScheduler<S>where
S: RefUnwindSafe,
impl<S> Send for RandScheduler<S>where
S: Send,
impl<S> Sync for RandScheduler<S>where
S: Sync,
impl<S> Unpin for RandScheduler<S>where
S: Unpin,
impl<S> UnwindSafe for RandScheduler<S>where
S: UnwindSafe,
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.