Struct libafl::executors::inprocess::InProcessExecutor[][src]

pub struct InProcessExecutor<'a, H, I, OT, S> where
    H: FnMut(&I) -> ExitKind,
    I: Input,
    OT: ObserversTuple<I, S>, 
{ /* fields omitted */ }
Expand description

The inmem executor simply calls a target function, then returns afterwards.

Implementations

Create a new in mem executor. Caution: crash and restart in one of them will lead to odd behavior if multiple are used, depending on different corpus or state.

  • harness_fn - the harness, executiong the function
  • observers - the observers observing the target during execution This may return an error on unix, if signal handler setup fails

Retrieve the harness function.

Retrieve the harness function for a mutable reference.

Trait Implementations

Formats the value using the given formatter. Read more

Instruct the target about the input and run

Wraps this Executor with the given ObserversTuple to implement HasObservers. Read more

Get the linked observers

Get the linked observers

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

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

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

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.