Struct libafl::stages::tracing::TracingStage[][src]

pub struct TracingStage<C, EM, I, OT, S, TE, Z> where
    I: Input,
    C: Corpus<I>,
    TE: Executor<I> + HasObservers<OT> + HasExecHooks<EM, I, S, Z> + HasObserversHooks<EM, I, OT, S, Z>,
    OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
    S: HasClientPerfStats + HasExecutions + HasCorpus<C, I>, 
{ /* fields omitted */ }
Expand description

The default mutational stage

Implementations

impl<C, EM, I, OT, S, TE, Z> TracingStage<C, EM, I, OT, S, TE, Z> where
    I: Input,
    C: Corpus<I>,
    TE: Executor<I> + HasObservers<OT> + HasExecHooks<EM, I, S, Z> + HasObserversHooks<EM, I, OT, S, Z>,
    OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
    S: HasClientPerfStats + HasExecutions + HasCorpus<C, I>, 
[src]

pub fn new(tracer_executor: TE) -> Self[src]

Creates a new default mutational stage

Trait Implementations

impl<C: Clone, EM: Clone, I: Clone, OT: Clone, S: Clone, TE: Clone, Z: Clone> Clone for TracingStage<C, EM, I, OT, S, TE, Z> where
    I: Input,
    C: Corpus<I>,
    TE: Executor<I> + HasObservers<OT> + HasExecHooks<EM, I, S, Z> + HasObserversHooks<EM, I, OT, S, Z>,
    OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
    S: HasClientPerfStats + HasExecutions + HasCorpus<C, I>, 
[src]

fn clone(&self) -> TracingStage<C, EM, I, OT, S, TE, Z>[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<C: Debug, EM: Debug, I: Debug, OT: Debug, S: Debug, TE: Debug, Z: Debug> Debug for TracingStage<C, EM, I, OT, S, TE, Z> where
    I: Input,
    C: Corpus<I>,
    TE: Executor<I> + HasObservers<OT> + HasExecHooks<EM, I, S, Z> + HasObserversHooks<EM, I, OT, S, Z>,
    OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
    S: HasClientPerfStats + HasExecutions + HasCorpus<C, I>, 
[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<E, C, EM, I, OT, S, TE, Z> Stage<E, EM, S, Z> for TracingStage<C, EM, I, OT, S, TE, Z> where
    I: Input,
    C: Corpus<I>,
    TE: Executor<I> + HasObservers<OT> + HasExecHooks<EM, I, S, Z> + HasObserversHooks<EM, I, OT, S, Z>,
    OT: ObserversTuple + HasExecHooksTuple<EM, I, S, Z>,
    S: HasClientPerfStats + HasExecutions + HasCorpus<C, I>, 
[src]

fn perform(
    &mut self,
    fuzzer: &mut Z,
    _executor: &mut E,
    state: &mut S,
    manager: &mut EM,
    corpus_idx: usize
) -> Result<(), Error>
[src]

Run the stage

Auto Trait Implementations

impl<C, EM, I, OT, S, TE, Z> RefUnwindSafe for TracingStage<C, EM, I, OT, S, TE, Z> where
    C: RefUnwindSafe,
    EM: RefUnwindSafe,
    I: RefUnwindSafe,
    OT: RefUnwindSafe,
    S: RefUnwindSafe,
    TE: RefUnwindSafe,
    Z: RefUnwindSafe

impl<C, EM, I, OT, S, TE, Z> Send for TracingStage<C, EM, I, OT, S, TE, Z> where
    C: Send,
    EM: Send,
    I: Send,
    OT: Send,
    S: Send,
    TE: Send,
    Z: Send

impl<C, EM, I, OT, S, TE, Z> Sync for TracingStage<C, EM, I, OT, S, TE, Z> where
    C: Sync,
    EM: Sync,
    I: Sync,
    OT: Sync,
    S: Sync,
    TE: Sync,
    Z: Sync

impl<C, EM, I, OT, S, TE, Z> Unpin for TracingStage<C, EM, I, OT, S, TE, Z> where
    C: Unpin,
    EM: Unpin,
    I: Unpin,
    OT: Unpin,
    S: Unpin,
    TE: Unpin,
    Z: Unpin

impl<C, EM, I, OT, S, TE, Z> UnwindSafe for TracingStage<C, EM, I, OT, S, TE, Z> where
    C: UnwindSafe,
    EM: UnwindSafe,
    I: UnwindSafe,
    OT: UnwindSafe,
    S: UnwindSafe,
    TE: UnwindSafe,
    Z: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<Tail, T> Prepend<T> for Tail[src]

type PreprendResult = Tail

The Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

pub fn prepend(Self, T) -> (T, <Tail as Prepend<T>>::PreprendResult)[src]

Prepend a value to this tuple, returning a new tuple with prepended value.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.