Module libafl_bolts::ownedref
source · Expand description
Wrappers that abstracts references (or pointers) and owned data accesses.
Structs§
- Wrap a mutable slice and convert to a Vec on serialize
- Wrap a slice and convert to a Vec on serialize. We use a hidden inner enum so the public API can be safe, unless the user uses the unsafe
OwnedSlice::from_raw_parts
- A struct or enum containing this
UnsafeMarker
cannot directly be instantiated. Usually, this means you’ll have to use a constructor likeunsafe { Self::new() }
or similar.
Enums§
- Wrap a C-style mutable pointer and convert to a Box on serialize
- Wrap a mutable slice and convert to a Vec on serialize. We use a hidden inner enum so the public API can be safe, unless the user uses the unsafe
OwnedMutSlice::from_raw_parts_mut
- Wrap a C-style pointer and convert to a Box on serialize
- Wrap a reference and convert to a
Box
on serialize - Wrap a mutable reference and convert to a Box on serialize