Struct libafl::schedulers::accounting::TopAccountingMetadata
source · [−]pub struct TopAccountingMetadata {
pub map: HashMap<usize, usize>,
pub changed: bool,
pub max_accounting: Vec<u32>,
}
Expand description
A state metadata holding a map of favoreds testcases for each map entry
Fields
map: HashMap<usize, usize>
map index -> corpus index
changed: bool
If changed sicne the previous add to the corpus
max_accounting: Vec<u32>
The max accounting seen so far
Implementations
sourceimpl TopAccountingMetadata
impl TopAccountingMetadata
sourcepub fn new(acc_len: usize) -> Self
pub fn new(acc_len: usize) -> Self
Creates a new TopAccountingMetadata
Trait Implementations
sourceimpl Debug for TopAccountingMetadata
impl Debug for TopAccountingMetadata
sourceimpl<'de> Deserialize<'de> for TopAccountingMetadata
impl<'de> Deserialize<'de> for TopAccountingMetadata
sourcefn 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
sourceimpl SerdeAny for TopAccountingMetadata
impl SerdeAny for TopAccountingMetadata
sourcefn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
returns this as mutable Any trait
sourcefn as_any_boxed(self: Box<TopAccountingMetadata>) -> Box<dyn Any>
fn as_any_boxed(self: Box<TopAccountingMetadata>) -> Box<dyn Any>
returns this as boxed Any trait
sourceimpl Serialize for TopAccountingMetadata
impl Serialize for TopAccountingMetadata
Auto Trait Implementations
impl RefUnwindSafe for TopAccountingMetadata
impl Send for TopAccountingMetadata
impl Sync for TopAccountingMetadata
impl Unpin for TopAccountingMetadata
impl UnwindSafe for TopAccountingMetadata
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.