pub trait Mapper {
// Required method
fn map(
&self,
vmar_offset: usize,
vmo: &Vmo,
vmo_offset: u64,
length: usize,
flags: VmarFlags,
) -> Result<usize, Status>;
}
Expand description
A trait so that callers of map_elf_segments can hook the map operation.