pub struct MemoryMap {
pub address: (u64, u64),
pub perms: String,
pub offset: u64,
pub dev: (i32, i32),
pub inode: u64,
pub pathname: MMapPath,
}
Expand description
Represents an entry in a /proc/<pid>/maps
file.
To construct this structure, see Process::maps() and Process::smaps().
Fields
address: (u64, u64)
The address space in the process that the mapping occupies.
perms: String
offset: u64
The offset into the file/whatever
dev: (i32, i32)
The device (major, minor)
inode: u64
The inode on that device
0 indicates that no inode is associated with the memory region, as would be the case with BSS (uninitialized data).
pathname: MMapPath
Trait Implementations
impl Eq for MemoryMap
impl StructuralEq for MemoryMap
impl StructuralPartialEq for MemoryMap
Auto Trait Implementations
impl RefUnwindSafe for MemoryMap
impl Send for MemoryMap
impl Sync for MemoryMap
impl Unpin for MemoryMap
impl UnwindSafe for MemoryMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more