Struct libafl::feedbacks::NotFeedback
source · [−]pub struct NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor, {
pub first: A,
/* private fields */
}
Expand description
Compose feedbacks with an NOT
operation
Fields
first: A
The feedback to invert
Implementations
sourceimpl<A, I, S> NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
impl<A, I, S> NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
sourcepub fn new(first: A) -> Self
pub fn new(first: A) -> Self
Creates a new NotFeedback
.
Trait Implementations
sourceimpl<A: Clone, I: Clone, S: Clone> Clone for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
impl<A: Clone, I: Clone, S: Clone> Clone for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
sourcefn clone(&self) -> NotFeedback<A, I, S>
fn clone(&self) -> NotFeedback<A, I, S>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<A, I, S> Debug for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
impl<A, I, S> Debug for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
sourceimpl<A, I, S> Feedback<I, S> for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
impl<A, I, S> Feedback<I, S> for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
sourcefn init_state(&mut self, state: &mut S) -> Result<(), Error>
fn init_state(&mut self, state: &mut S) -> Result<(), Error>
Initializes the feedback state.
This method is called after that the State
is created. Read more
sourcefn 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>,
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>,
OT: ObserversTuple<I, S>,
is_interesting
return if an input is worth the addition to the corpus
sourceimpl<A, I, S> Named for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
impl<A, I, S> Named for NotFeedback<A, I, S> where
A: Feedback<I, S>,
I: Input,
S: HasClientPerfMonitor,
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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. Read more
sourcefn 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.