Struct minidump_writer::maps_reader::MappingInfo
source · [−]pub struct MappingInfo {
pub start_address: usize,
pub size: usize,
pub system_mapping_info: SystemMappingInfo,
pub offset: usize,
pub executable: bool,
pub name: Option<String>,
}
Fields
start_address: usize
size: usize
system_mapping_info: SystemMappingInfo
offset: usize
executable: bool
name: Option<String>
Implementations
sourceimpl MappingInfo
impl MappingInfo
pub fn parse_from_line(
line: &str,
linux_gate_loc: u64,
last_mapping: Option<&mut MappingInfo>
) -> Result<MappingInfoParsingResult, MapsReaderError>
pub fn get_mmap(
name: &Option<String>,
offset: usize
) -> Result<Mmap, MapsReaderError>
pub fn handle_deleted_file_in_mapping(
path: &str,
pid: Pid
) -> Result<String, MapsReaderError>
pub fn stack_has_pointer_to_mapping(
&self,
stack_copy: &[u8],
sp_offset: usize
) -> bool
pub fn is_mapped_file_safe_to_open(name: &Option<String>) -> bool
pub fn get_mapping_effective_name_and_path(
&self
) -> Result<(String, String), MapsReaderError>
pub fn is_contained_in(&self, user_mapping_list: &MappingList) -> bool
pub fn is_interesting(&self) -> bool
pub fn contains_address(&self, address: usize) -> bool
Trait Implementations
sourceimpl Clone for MappingInfo
impl Clone for MappingInfo
sourcefn clone(&self) -> MappingInfo
fn clone(&self) -> MappingInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MappingInfo
impl Debug for MappingInfo
sourceimpl PartialEq<MappingInfo> for MappingInfo
impl PartialEq<MappingInfo> for MappingInfo
sourcefn eq(&self, other: &MappingInfo) -> bool
fn eq(&self, other: &MappingInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MappingInfo) -> bool
fn ne(&self, other: &MappingInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for MappingInfo
Auto Trait Implementations
impl RefUnwindSafe for MappingInfo
impl Send for MappingInfo
impl Sync for MappingInfo
impl Unpin for MappingInfo
impl UnwindSafe for MappingInfo
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