Struct libafl::feedbacks::NotFeedback [−][src]
pub struct NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfStats, {
pub first: A,
// some fields omitted
}
Expand description
Compose feedbacks with an OR operation
Fields
first: A
The feedback to invert
Implementations
Creates a new NotFeedback
.
Trait Implementations
impl<A, I, S> Feedback<I, S> for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfStats,
impl<A, I, S> Feedback<I, S> for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfStats,
fn is_interesting<EM, OT>(
&mut self,
state: &mut S,
manager: &mut EM,
input: &I,
observers: &OT,
exit_kind: &ExitKind
) -> Result<bool, Error> where
EM: EventFirer<I, S>,
OT: ObserversTuple<I, S>,
fn is_interesting<EM, OT>(
&mut self,
state: &mut S,
manager: &mut EM,
input: &I,
observers: &OT,
exit_kind: &ExitKind
) -> Result<bool, Error> where
EM: EventFirer<I, S>,
OT: ObserversTuple<I, S>,
is_interesting
return if an input is worth the addition to the corpus
Append to the testcase the generated metadata in case of a new corpus item
impl<A, I, S> Named for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfStats,
impl<A, I, S> Named for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfStats,
Auto Trait Implementations
impl<A, I, S> RefUnwindSafe for NotFeedback<A, I, S> where
A: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<A, I, S> Send for NotFeedback<A, I, S> where
A: Send,
I: Send,
S: Send,
impl<A, I, S> Sync for NotFeedback<A, I, S> where
A: Sync,
I: Sync,
S: Sync,
impl<A, I, S> Unpin for NotFeedback<A, I, S> where
A: Unpin,
I: Unpin,
S: Unpin,
impl<A, I, S> UnwindSafe for NotFeedback<A, I, S> where
A: UnwindSafe,
I: UnwindSafe,
S: 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
type Output = T
type Output = T
Should always be Self