Struct libafl::feedbacks::TimeFeedback [−][src]
pub struct TimeFeedback { /* fields omitted */ }
Expand description
Nop feedback that annotates execution time in the new testcase, if any
for this Feedback, the testcase is never interesting (use with an OR)
It decides, if the given TimeObserver
value of a run is interesting.
Implementations
Creates a new TimeFeedback
, deciding if the value of a TimeObserver
with the given name
of a run is interesting.
Creates a new TimeFeedback
, deciding if the given TimeObserver
value of a run is interesting.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Append to the testcase the generated metadata in case of a new corpus item
Discard the stored metadata in case that the testcase is not added to the corpus
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
Auto Trait Implementations
impl RefUnwindSafe for TimeFeedback
impl Send for TimeFeedback
impl Sync for TimeFeedback
impl Unpin for TimeFeedback
impl UnwindSafe for TimeFeedback
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