Trait MappedFilesExt

Source
pub trait MappedFilesExt {
    // Required methods
    fn from_gdb<T: AsRef<str>>(mapping: T) -> Result<MappedFiles>;
    fn find(&self, addr: u64) -> Option<File>;
}

Required Methods§

Source

fn from_gdb<T: AsRef<str>>(mapping: T) -> Result<MappedFiles>

Construct MappedFiels from string

§Arguments
  • ‘mapping’ - gdb output string with mapped files
Source

fn find(&self, addr: u64) -> Option<File>

Determine which file contains the address

§Arguments
  • ‘addr’ - given address

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§