[][src]Struct symbolic_debuginfo::dwarf::DwarfDebugSession

pub struct DwarfDebugSession<'data> { /* fields omitted */ }

A debugging session for DWARF debugging information.

Methods

impl<'d> DwarfDebugSession<'d>[src]

pub fn parse<D>(
    dwarf: &D,
    symbol_map: SymbolMap<'d>,
    load_address: u64
) -> Result<Self, DwarfError> where
    D: Dwarf<'d>, 
[src]

Parses a dwarf debugging information from the given DWARF file.

pub fn files(&self) -> DwarfFileIterator[src]

Returns an iterator over all source files in this debug file.

pub fn functions(&self) -> DwarfFunctionIterator[src]

Returns an iterator over all functions in this debug file.

pub fn source_by_path(
    &self,
    _path: &str
) -> Result<Option<Cow<str>>, DwarfError>
[src]

Looks up a file's source contents by its full canonicalized path.

The given path must be canonicalized.

Trait Implementations

impl<'d> DebugSession for DwarfDebugSession<'d>[src]

type Error = DwarfError

The error returned when reading debug information fails.

Auto Trait Implementations

impl<'data> !RefUnwindSafe for DwarfDebugSession<'data>

impl<'data> Send for DwarfDebugSession<'data>

impl<'data> !Sync for DwarfDebugSession<'data>

impl<'data> Unpin for DwarfDebugSession<'data>

impl<'data> UnwindSafe for DwarfDebugSession<'data>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.