Struct libafl::bolts::shmem::RcShMemProvider[][src]

pub struct RcShMemProvider<T: ShMemProvider> { /* fields omitted */ }
Expand description

A Refernce Counted ShMemProvider, that can use internal mutability. Useful if the ShMemProvider needs to keep local state.

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

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.

After fork, make sure everything gets set up correctly internally.

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

Release the resources associated with the given ShMem

Create a new sharedmap reference from an existing id and len

Get a mapping given a description

Reads an existing map config from env vars, then maps it

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.