Struct libafl::feedbacks::TimeoutFeedback
source · pub struct TimeoutFeedback {}
Expand description
A TimeoutFeedback
reduces the timeout value of a run.
Implementations§
source§impl TimeoutFeedback
impl TimeoutFeedback
sourcepub fn new() -> Self
pub fn new() -> Self
Returns a new TimeoutFeedback
.
Trait Implementations§
source§impl Clone for TimeoutFeedback
impl Clone for TimeoutFeedback
source§fn clone(&self) -> TimeoutFeedback
fn clone(&self) -> TimeoutFeedback
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimeoutFeedback
impl Debug for TimeoutFeedback
source§impl Default for TimeoutFeedback
impl Default for TimeoutFeedback
source§impl<'de> Deserialize<'de> for TimeoutFeedback
impl<'de> Deserialize<'de> for TimeoutFeedback
source§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
source§impl<S> Feedback<S> for TimeoutFeedbackwhere
S: UsesInput + HasClientPerfMonitor,
impl<S> Feedback<S> for TimeoutFeedbackwhere
S: UsesInput + HasClientPerfMonitor,
source§fn is_interesting<EM, OT>(
&mut self,
_state: &mut S,
_manager: &mut EM,
_input: &S::Input,
_observers: &OT,
exit_kind: &ExitKind
) -> Result<bool, Error>where
EM: EventFirer<State = S>,
OT: ObserversTuple<S>,
fn is_interesting<EM, OT>(
&mut self,
_state: &mut S,
_manager: &mut EM,
_input: &S::Input,
_observers: &OT,
exit_kind: &ExitKind
) -> Result<bool, Error>where
EM: EventFirer<State = S>,
OT: ObserversTuple<S>,
is_interesting
return if an input is worth the addition to the corpussource§fn 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.Auto Trait Implementations§
impl RefUnwindSafe for TimeoutFeedback
impl Send for TimeoutFeedback
impl Sync for TimeoutFeedback
impl Unpin for TimeoutFeedback
impl UnwindSafe for TimeoutFeedback
Blanket Implementations§
source§impl<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.source§fn 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.