Struct frida_gum::MemoryRange
source · pub struct MemoryRange { /* private fields */ }
Implementations§
source§impl MemoryRange
impl MemoryRange
pub fn new(base_address: NativePointer, size: usize) -> MemoryRange
sourcepub fn base_address(&self) -> NativePointer
pub fn base_address(&self) -> NativePointer
Get the start address of the range.
sourcepub fn size(&self) -> usize
pub fn size(&self) -> usize
Get the size of the range.
The end address of the range can be computed by adding the MemoryRange::base_address()
to the size.