Struct libafl::observers::map::ConstMapObserver[][src]

pub struct ConstMapObserver<'a, T, const N: usize> where
    T: Integer + Default + Copy + 'static + Serialize + DeserializeOwned
{ /* fields omitted */ }
Expand description

Use a const size to speedup Feedback::is_interesting when the user can know the size of the map at compile time.

Implementations

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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Get the number of usable entries in the map (all by default)

Get the map

Get the map (mutable)

Get the initial value for reset()

Get the initial value for reset()

Set the initial value for reset()

Count the set bytes in the map

Compute the hash of the map

Reset the map

Provide the name of this element.

Called right before exexution starts

The testcase finished execution, calculate any changes. Reserved for future use. Read more

Called right after execution finished.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

Prepend a value to this tuple, returning a new tuple with prepended value.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.