Struct libafl_bolts::os::unix_shmem_server::ServedShMem
source · pub struct ServedShMem<SH>where
SH: ShMem,{ /* private fields */ }
Expand description
ShMem
that got served from a ShMemService
via domain sockets and can now be used in this program.
It works around Android’s lack of “proper” shared maps.
Trait Implementations§
source§impl<SH> AsMutSlice for ServedShMem<SH>where
SH: ShMem,
impl<SH> AsMutSlice for ServedShMem<SH>where
SH: ShMem,
source§impl<SH> AsSlice for ServedShMem<SH>where
SH: ShMem,
impl<SH> AsSlice for ServedShMem<SH>where
SH: ShMem,
source§impl<SH> Clone for ServedShMem<SH>
impl<SH> Clone for ServedShMem<SH>
source§fn clone(&self) -> ServedShMem<SH>
fn clone(&self) -> ServedShMem<SH>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<SH> Debug for ServedShMem<SH>
impl<SH> Debug for ServedShMem<SH>
source§impl<SH> ShMem for ServedShMem<SH>where
SH: ShMem,
impl<SH> ShMem for ServedShMem<SH>where
SH: ShMem,
source§unsafe fn as_object<T: Sized + 'static>(&self) -> &T
unsafe fn as_object<T: Sized + 'static>(&self) -> &T
Convert to an owned object reference Read more
source§unsafe fn as_object_mut<T: Sized + 'static>(&mut self) -> &mut T
unsafe fn as_object_mut<T: Sized + 'static>(&mut self) -> &mut T
Convert to an owned object mutable reference Read more
source§unsafe fn as_objects_slice<T: Sized + 'static>(&self, len: usize) -> &[T]
unsafe fn as_objects_slice<T: Sized + 'static>(&self, len: usize) -> &[T]
Convert to a slice of type &[T] Read more
source§unsafe fn as_objects_slice_mut<T: Sized + 'static>(
&mut self,
len: usize
) -> &mut [T]
unsafe fn as_objects_slice_mut<T: Sized + 'static>( &mut self, len: usize ) -> &mut [T]
Convert to a slice of type &mut [T] Read more
source§fn description(&self) -> ShMemDescription
fn description(&self) -> ShMemDescription
Get the description of the shared memory mapping
Auto Trait Implementations§
impl<SH> RefUnwindSafe for ServedShMem<SH>where
SH: RefUnwindSafe,
impl<SH> Send for ServedShMem<SH>where
SH: Send,
impl<SH> Sync for ServedShMem<SH>where
SH: Sync,
impl<SH> Unpin for ServedShMem<SH>where
SH: Unpin,
impl<SH> UnwindSafe for ServedShMem<SH>where
SH: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting
TupleList
, of an Prepend::prepend()
call,
including the prepended entry.source§fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.