Struct libafl::executors::command::CommandExecutor [−][src]
pub struct CommandExecutor<EM, I, S, Z, T, OT> { /* fields omitted */ }
Expand description
A CommandExecutor
is a wrapper around std::process::Command
to execute a target as a child process.
Construct a CommandExecutor
by implementing CommandConfigurator
for a type of your choice and calling CommandConfigurator::into_executor
on it.
Implementations
Trait Implementations
impl<EM, I, S, Z, T, OT> Executor<EM, I, S, Z> for CommandExecutor<EM, I, S, Z, T, OT> where
I: Input,
T: CommandConfigurator<EM, I, S, Z>,
OT: ObserversTuple<I, S>,
impl<EM, I, S, Z, T, OT> Executor<EM, I, S, Z> for CommandExecutor<EM, I, S, Z, T, OT> where
I: Input,
T: CommandConfigurator<EM, I, S, Z>,
OT: ObserversTuple<I, S>,
Instruct the target about the input and run
fn with_observers<OT>(self, observers: OT) -> WithObservers<Self, OT> where
Self: Sized,
OT: ObserversTuple<I, S>,
fn with_observers<OT>(self, observers: OT) -> WithObservers<Self, OT> where
Self: Sized,
OT: ObserversTuple<I, S>,
Wraps this Executor with the given ObserversTuple
to implement HasObservers
. Read more
impl<EM, I, S, Z, T, OT> HasObservers<I, OT, S> for CommandExecutor<EM, I, S, Z, T, OT> where
I: Input,
OT: ObserversTuple<I, S>,
T: CommandConfigurator<EM, I, S, Z>,
impl<EM, I, S, Z, T, OT> HasObservers<I, OT, S> for CommandExecutor<EM, I, S, Z, T, OT> where
I: Input,
OT: ObserversTuple<I, S>,
T: CommandConfigurator<EM, I, S, Z>,
Auto Trait Implementations
impl<EM, I, S, Z, T, OT> RefUnwindSafe for CommandExecutor<EM, I, S, Z, T, OT> where
EM: RefUnwindSafe,
I: RefUnwindSafe,
OT: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
Z: RefUnwindSafe,
impl<EM, I, S, Z, T, OT> Send for CommandExecutor<EM, I, S, Z, T, OT> where
EM: Send,
I: Send,
OT: Send,
S: Send,
T: Send,
Z: Send,
impl<EM, I, S, Z, T, OT> Sync for CommandExecutor<EM, I, S, Z, T, OT> where
EM: Sync,
I: Sync,
OT: Sync,
S: Sync,
T: Sync,
Z: Sync,
impl<EM, I, S, Z, T, OT> Unpin for CommandExecutor<EM, I, S, Z, T, OT> where
EM: Unpin,
I: Unpin,
OT: Unpin,
S: Unpin,
T: Unpin,
Z: Unpin,
impl<EM, I, S, Z, T, OT> UnwindSafe for CommandExecutor<EM, I, S, Z, T, OT> where
EM: UnwindSafe,
I: UnwindSafe,
OT: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Z: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more