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.
pub fn scan(&self, pattern: &MatchPattern) -> Vec<ScanResult>
Auto Trait Implementations§
impl RefUnwindSafe for MemoryRange
impl Send for MemoryRange
impl Sync for MemoryRange
impl Unpin for MemoryRange
impl UnwindSafe for MemoryRange
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