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
sourceimpl<SH> AsMutSlice<u8> for ServedShMem<SH> where
SH: ShMem,
impl<SH> AsMutSlice<u8> for ServedShMem<SH> where
SH: ShMem,
sourceimpl<SH> AsSlice<u8> for ServedShMem<SH> where
SH: ShMem,
impl<SH> AsSlice<u8> for ServedShMem<SH> where
SH: ShMem,
sourceimpl<SH: Clone> Clone for ServedShMem<SH> where
SH: ShMem,
impl<SH: Clone> Clone for ServedShMem<SH> where
SH: ShMem,
sourcefn clone(&self) -> ServedShMem<SH>
fn clone(&self) -> ServedShMem<SH>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<SH: Debug> Debug for ServedShMem<SH> where
SH: ShMem,
impl<SH: Debug> Debug for ServedShMem<SH> where
SH: ShMem,
sourceimpl<SH> ShMem for ServedShMem<SH> where
SH: ShMem,
impl<SH> ShMem for ServedShMem<SH> where
SH: ShMem,
sourceunsafe 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
sourceunsafe 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
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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. Read more
sourcefn 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.