Struct libafl::observers::map::StdMapObserver [−][src]
pub struct StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned, { /* fields omitted */ }
Expand description
The Map Observer retrieves the state of a map, that will get updated by the target. A well-known example is the AFL-Style coverage map.
Implementations
impl<'a, T> StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
impl<'a, T> StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
Creates a new MapObserver
Creates a new MapObserver
with an owned map
Creates a new MapObserver
from a raw pointer
Safety
Will dereference the map_ptr
with up to len elements.
Trait Implementations
impl<'a, T: Debug> Debug for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
impl<'a, T: Debug> Debug for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
impl<'de, 'a, T> Deserialize<'de> for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
T: DeserializeOwned,
impl<'de, 'a, T> Deserialize<'de> for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
T: DeserializeOwned,
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
impl<'a, T> MapObserver<T> for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
impl<'a, T> MapObserver<T> for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
Get the initial value for reset()
Set the initial value for reset()
Get the number of usable entries in the map (all by default)
Count the set bytes in the map
impl<'a, T> Named for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
impl<'a, T> Named for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
impl<'a, I, S, T> Observer<I, S> for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
Self: MapObserver<T>,
impl<'a, I, S, T> Observer<I, S> for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
Self: MapObserver<T>,
Called right before exexution starts
The testcase finished execution, calculate any changes. Reserved for future use. Read more
impl<'a, T> Serialize for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
T: DeserializeOwned,
impl<'a, T> Serialize for StdMapObserver<'a, T> where
T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned,
T: DeserializeOwned,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for StdMapObserver<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for StdMapObserver<'a, T> where
T: Send,
impl<'a, T> Sync for StdMapObserver<'a, T> where
T: Sync,
impl<'a, T> Unpin for StdMapObserver<'a, T> where
T: Unpin,
impl<'a, T> !UnwindSafe for StdMapObserver<'a, T>
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