Struct libafl::observers::map::HitcountsMapObserver [−][src]
pub struct HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned, { /* fields omitted */ }
Map observer with hitcounts postprocessing
Implementations
impl<M> HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
[src]
impl<M> HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
[src]pub fn new(base: M) -> Self
[src]
pub fn new(base: M) -> Self
[src]Creates a new MapObserver
Trait Implementations
impl<M: Clone> Clone for HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
[src]
impl<M: Clone> Clone for HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
[src]fn clone(&self) -> HitcountsMapObserver<M>
[src]
fn clone(&self) -> HitcountsMapObserver<M>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<M: Debug> Debug for HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
[src]
impl<M: Debug> Debug for HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
[src]impl<'de, M> Deserialize<'de> for HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
M: DeserializeOwned,
[src]
impl<'de, M> Deserialize<'de> for HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
M: DeserializeOwned,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<EM, I, S, M> HasExecHooks<EM, I, S> for HitcountsMapObserver<M> where
M: MapObserver<u8> + HasExecHooks<EM, I, S>,
[src]
impl<EM, I, S, M> HasExecHooks<EM, I, S> for HitcountsMapObserver<M> where
M: MapObserver<u8> + HasExecHooks<EM, I, S>,
[src]impl<M> MapObserver<u8> for HitcountsMapObserver<M> where
M: MapObserver<u8>,
[src]
impl<M> MapObserver<u8> for HitcountsMapObserver<M> where
M: MapObserver<u8>,
[src]fn usable_count(&self) -> usize
[src]
fn usable_count(&self) -> usize
[src]Get the number of usable entries in the map (all by default)
fn initial_mut(&mut self) -> &mut u8
[src]
fn initial_mut(&mut self) -> &mut u8
[src]Get the initial value for reset()
fn set_initial(&mut self, initial: u8)
[src]
fn set_initial(&mut self, initial: u8)
[src]Set the initial value for reset()
impl<M> Named for HitcountsMapObserver<M> where
M: Named + Serialize + DeserializeOwned,
[src]
impl<M> Named for HitcountsMapObserver<M> where
M: Named + Serialize + DeserializeOwned,
[src]impl<M> Observer for HitcountsMapObserver<M> where
M: MapObserver<u8>,
[src]
impl<M> Observer for HitcountsMapObserver<M> where
M: MapObserver<u8>,
[src]impl<M> Serialize for HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
M: DeserializeOwned,
[src]
impl<M> Serialize for HitcountsMapObserver<M> where
M: Serialize + DeserializeOwned,
M: DeserializeOwned,
[src]Auto Trait Implementations
impl<M> RefUnwindSafe for HitcountsMapObserver<M> where
M: RefUnwindSafe,
M: RefUnwindSafe,
impl<M> Send for HitcountsMapObserver<M> where
M: Send,
M: Send,
impl<M> Sync for HitcountsMapObserver<M> where
M: Sync,
M: Sync,
impl<M> Unpin for HitcountsMapObserver<M> where
M: Unpin,
M: Unpin,
impl<M> UnwindSafe for HitcountsMapObserver<M> where
M: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,