Trait libafl::bolts::shmem::ShMem [−][src]
pub trait ShMem: Sized + Debug + Clone { fn id(&self) -> ShMemId; fn len(&self) -> usize; fn map(&self) -> &[u8]; fn map_mut(&mut self) -> &mut [u8]; fn is_empty(&self) -> bool { ... } fn description(&self) -> ShMemDescription { ... } fn write_to_env(&self, env_name: &str) -> Result<(), Error> { ... } }
Expand description
A ShMem
is an interface to shared maps.
They are the backbone of crate::bolts::llmp
for inter-process communication.
All you need for scaling on a new target is to implement this interface, as well as the respective ShMemProvider
.
Required methods
Provided methods
fn description(&self) -> ShMemDescription
fn description(&self) -> ShMemDescription
Get the description of the shared memory mapping