Struct libafl::bolts::shmem::unix_shmem::ashmem::AshmemShMemProvider [−][src]
pub struct AshmemShMemProvider {}
Expand description
A ShMemProvider
which uses ashmem to provide shared memory mappings.
Trait Implementations
Implement ShMemProvider
for AshmemShMemProvider
, for the Android ShMem
.
type Mem = AshmemShMem
type Mem = AshmemShMem
The actual shared map handed out by this ShMemProvider
.
Create a new shared memory mapping
Get a mapping given its id and size
Get a mapping given a description
Create a new sharedmap reference from an existing id
and len
Reads an existing map config from env vars, then maps it
This method should be called before a fork or a thread creation event, allowing the ShMemProvider
to
get ready for a potential reset of thread specific info, and for potential reconnects.
Make sure to call Self::post_fork()
after threading! Read more
This method should be called after a fork or after cloning/a thread creation event, allowing the ShMemProvider
to
reset thread specific info, and potentially reconnect.
Make sure to call Self::pre_fork()
before threading! Read more
Release the resources associated with the given ShMem
Auto Trait Implementations
impl RefUnwindSafe for AshmemShMemProvider
impl Sync for AshmemShMemProvider
impl Unpin for AshmemShMemProvider
impl UnwindSafe for AshmemShMemProvider
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