Struct frida_gum::RangeDetails
source · pub struct RangeDetails<'a> { /* private fields */ }
Expand description
Details a range of virtual memory.
Implementations§
source§impl<'a> RangeDetails<'a>
impl<'a> RangeDetails<'a>
sourcepub fn with_address(address: u64) -> Option<RangeDetails<'a>>
pub fn with_address(address: u64) -> Option<RangeDetails<'a>>
Get a RangeDetails
for the range containing the given address.
sourcepub fn enumerate_with_prot(
prot: PageProtection,
callback: &mut dyn FnMut(&RangeDetails<'_>) -> bool
)
pub fn enumerate_with_prot( prot: PageProtection, callback: &mut dyn FnMut(&RangeDetails<'_>) -> bool )
Enumerate all ranges which match the given PageProtection
, calling the callback
function for each such range.
sourcepub fn memory_range(&self) -> MemoryRange
pub fn memory_range(&self) -> MemoryRange
The range of memory that is detailed.
sourcepub fn protection(&self) -> PageProtection
pub fn protection(&self) -> PageProtection
The page protection of the range.
sourcepub fn file_mapping(&self) -> Option<FileMapping<'_>>
pub fn file_mapping(&self) -> Option<FileMapping<'_>>
The associated file mapping, if present.
Auto Trait Implementations§
impl<'a> Freeze for RangeDetails<'a>
impl<'a> RefUnwindSafe for RangeDetails<'a>
impl<'a> !Send for RangeDetails<'a>
impl<'a> !Sync for RangeDetails<'a>
impl<'a> Unpin for RangeDetails<'a>
impl<'a> UnwindSafe for RangeDetails<'a>
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