Struct symbolic::debuginfo::pe::PeDebugSession [−][src]
pub struct PeDebugSession<'data> { /* fields omitted */ }
Expand description
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
Returns an iterator over all functions in this debug file.
Returns an iterator over all source files referenced by this debug file.
Trait Implementations
type FunctionIterator = Empty<Result<Function<'session>, PeError>>
type FunctionIterator = Empty<Result<Function<'session>, PeError>>
An iterator over all functions in this debug file.
type FileIterator = Empty<Result<FileEntry<'session>, PeError>>
type FileIterator = Empty<Result<FileEntry<'session>, PeError>>
An iterator over all source files referenced by this debug file.
pub fn functions(
&'session self
) -> <PeDebugSession<'_> as DebugSession<'session>>::FunctionIterator
pub fn functions(
&'session self
) -> <PeDebugSession<'_> as DebugSession<'session>>::FunctionIterator
Returns an iterator over all functions in this debug file. Read more
Returns an iterator over all source files referenced by this debug file.
pub fn source_by_path(
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, <PeDebugSession<'_> as DebugSession<'session>>::Error>
pub fn source_by_path(
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, <PeDebugSession<'_> as DebugSession<'session>>::Error>
Looks up a file’s source contents by its full canonicalized path. Read more
Auto Trait Implementations
impl<'data> RefUnwindSafe for PeDebugSession<'data>
impl<'data> Send for PeDebugSession<'data>
impl<'data> Sync for PeDebugSession<'data>
impl<'data> Unpin for PeDebugSession<'data>
impl<'data> UnwindSafe for PeDebugSession<'data>
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
pub fn extract_context(self, _original_input: I)
pub fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
pub fn recreate_context(_original_input: I, tail: I) -> I
pub fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more