Struct libafl::stages::generalization::GeneralizationStage
source · pub struct GeneralizationStage<EM, O, OT, Z> { /* private fields */ }
Expand description
A stage that runs a tracer executor
Implementations§
source§impl<EM, O, OT, Z> GeneralizationStage<EM, O, OT, Z>where
EM: UsesState,
O: MapObserver,
OT: ObserversTuple<EM::State>,
EM::State: UsesInput<Input = BytesInput> + HasClientPerfMonitor + HasExecutions + HasMetadata + HasCorpus,
impl<EM, O, OT, Z> GeneralizationStage<EM, O, OT, Z>where
EM: UsesState,
O: MapObserver,
OT: ObserversTuple<EM::State>,
EM::State: UsesInput<Input = BytesInput> + HasClientPerfMonitor + HasExecutions + HasMetadata + HasCorpus,
sourcepub fn new(map_observer: &O) -> Self
pub fn new(map_observer: &O) -> Self
Create a new GeneralizationStage
.
sourcepub fn from_name(map_observer_name: &str) -> Self
pub fn from_name(map_observer_name: &str) -> Self
Create a new GeneralizationStage
from name
Trait Implementations§
source§impl<EM: Clone, O: Clone, OT: Clone, Z: Clone> Clone for GeneralizationStage<EM, O, OT, Z>
impl<EM: Clone, O: Clone, OT: Clone, Z: Clone> Clone for GeneralizationStage<EM, O, OT, Z>
source§fn clone(&self) -> GeneralizationStage<EM, O, OT, Z>
fn clone(&self) -> GeneralizationStage<EM, O, OT, Z>
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<E, EM, O, Z> Stage<E, EM, Z> for GeneralizationStage<EM, O, E::Observers, Z>where
O: MapObserver,
E: Executor<EM, Z> + HasObservers,
E::Observers: ObserversTuple<E::State>,
E::State: UsesInput<Input = BytesInput> + HasClientPerfMonitor + HasExecutions + HasMetadata + HasCorpus,
EM: UsesState<State = E::State>,
Z: UsesState<State = E::State>,
impl<E, EM, O, Z> Stage<E, EM, Z> for GeneralizationStage<EM, O, E::Observers, Z>where
O: MapObserver,
E: Executor<EM, Z> + HasObservers,
E::Observers: ObserversTuple<E::State>,
E::State: UsesInput<Input = BytesInput> + HasClientPerfMonitor + HasExecutions + HasMetadata + HasCorpus,
EM: UsesState<State = E::State>,
Z: UsesState<State = E::State>,
Auto Trait Implementations§
impl<EM, O, OT, Z> RefUnwindSafe for GeneralizationStage<EM, O, OT, Z>where
EM: RefUnwindSafe,
O: RefUnwindSafe,
OT: RefUnwindSafe,
Z: RefUnwindSafe,
impl<EM, O, OT, Z> Send for GeneralizationStage<EM, O, OT, Z>where
EM: Send,
O: Send,
OT: Send,
Z: Send,
impl<EM, O, OT, Z> Sync for GeneralizationStage<EM, O, OT, Z>where
EM: Sync,
O: Sync,
OT: Sync,
Z: Sync,
impl<EM, O, OT, Z> Unpin for GeneralizationStage<EM, O, OT, Z>where
EM: Unpin,
O: Unpin,
OT: Unpin,
Z: Unpin,
impl<EM, O, OT, Z> UnwindSafe for GeneralizationStage<EM, O, OT, Z>where
EM: UnwindSafe,
O: UnwindSafe,
OT: UnwindSafe,
Z: 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.