Struct libafl::feedbacks::CombinedFeedback
source · [−]pub struct CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor, {
pub first: A,
pub second: B,
/* private fields */
}
Expand description
A combined feedback consisting of multiple Feedback
s
Fields
first: A
First Feedback
second: B
Second Feedback
Implementations
sourceimpl<A, B, FL, I, S> CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor,
impl<A, B, FL, I, S> CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor,
Trait Implementations
sourceimpl<A: Debug, B: Debug, FL: Debug, I: Debug, S: Debug> Debug for CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor,
impl<A: Debug, B: Debug, FL: Debug, I: Debug, S: Debug> Debug for CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor,
sourceimpl<A, B, FL, I, S> Feedback<I, S> for CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor + Debug,
impl<A, B, FL, I, S> Feedback<I, S> for CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor + Debug,
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, B, FL, I, S> Named for CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor,
impl<A, B, FL, I, S> Named for CombinedFeedback<A, B, FL, I, S> where
A: Feedback<I, S>,
B: Feedback<I, S>,
FL: FeedbackLogic<A, B, I, S>,
I: Input,
S: HasClientPerfMonitor,
Auto Trait Implementations
impl<A, B, FL, I, S> RefUnwindSafe for CombinedFeedback<A, B, FL, I, S> where
A: RefUnwindSafe,
B: RefUnwindSafe,
FL: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<A, B, FL, I, S> Send for CombinedFeedback<A, B, FL, I, S> where
A: Send,
B: Send,
FL: Send,
I: Send,
S: Send,
impl<A, B, FL, I, S> Sync for CombinedFeedback<A, B, FL, I, S> where
A: Sync,
B: Sync,
FL: Sync,
I: Sync,
S: Sync,
impl<A, B, FL, I, S> Unpin for CombinedFeedback<A, B, FL, I, S> where
A: Unpin,
B: Unpin,
FL: Unpin,
I: Unpin,
S: Unpin,
impl<A, B, FL, I, S> UnwindSafe for CombinedFeedback<A, B, FL, I, S> where
A: UnwindSafe,
B: UnwindSafe,
FL: 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.