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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Implement ShMemProvider for AshmemShMemProvider, for the Android ShMem.

The actual shared map handed out by this ShMemProvider.

Create a new instance of the provider

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

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.