Struct symbolic_debuginfo::pe::PeDebugSession [−][src]
pub struct PeDebugSession<'data> { /* fields omitted */ }
Debug session for PE objects.
Since debug information in PE containers is not supported, this session consists of NoOps and always returns empty results.
Implementations
impl<'data> PeDebugSession<'data>
[src]
impl<'data> PeDebugSession<'data>
[src]pub fn functions(&self) -> PeFunctionIterator<'_>
[src]
Returns an iterator over all functions in this debug file.
pub fn files(&self) -> PeFileIterator<'_>
[src]
Returns an iterator over all source files referenced by this debug file.
pub fn source_by_path(
&self,
_path: &str
) -> Result<Option<Cow<'_, str>>, PeError>
[src]
&self,
_path: &str
) -> Result<Option<Cow<'_, str>>, PeError>
Looks up a file’s source contents by its full canonicalized path.
The given path must be canonicalized.
Trait Implementations
impl<'session> DebugSession<'session> for PeDebugSession<'_>
[src]
impl<'session> DebugSession<'session> for PeDebugSession<'_>
[src]type Error = PeError
The error returned when reading debug information fails.
type FunctionIterator = PeFunctionIterator<'session>
An iterator over all functions in this debug file.
type FileIterator = PeFileIterator<'session>
An iterator over all source files referenced by this debug file.
fn functions(&'session self) -> Self::FunctionIterator
[src]
fn files(&'session self) -> Self::FileIterator
[src]
fn source_by_path(
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, Self::Error>
[src]
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, Self::Error>
Auto Trait Implementations
impl<'data> RefUnwindSafe for PeDebugSession<'data>
impl<'data> RefUnwindSafe for PeDebugSession<'data>
impl<'data> Send for PeDebugSession<'data>
impl<'data> Send for PeDebugSession<'data>
impl<'data> Sync for PeDebugSession<'data>
impl<'data> Sync for PeDebugSession<'data>
impl<'data> Unpin for PeDebugSession<'data>
impl<'data> Unpin for PeDebugSession<'data>
impl<'data> UnwindSafe for PeDebugSession<'data>
impl<'data> UnwindSafe for PeDebugSession<'data>