Find
C
ase-sensitive
R
egexp search
Path
comm-central
/
third_party
/
rust
/
minidump-unwind
/
src
/
symbols
Navigation
Enable keyboard shortcuts
Name
Description
Size
debuginfo.rs
This module provides a `SymbolProvider` which uses local binary debuginfo.
19710
mod.rs
This module defines the interface used by minidump-unwind to symbolize stack traces. minidump-unwind uses a series of traits to represent symbolizing functionality and interfaces: * [SymbolProvider][] - provides symbolication, cfi evaluation, and debug statistics * Implemented by [Symbolizer][] and [debuginfo::DebugInfoSymbolProvider][] (requires the `debuginfo` feature to be enabled). * [SymbolSupplier][] - maps a [Module][] to a [SymbolFile][] * minidump-unwind does not directly use this, it's just there so the Symbolizer can generically handle different symbol fetching strategies. * [FrameSymbolizer][] - callbacks that symbolication uses to return its results. * Implemented by [StackFrame][crate::StackFrame] * Implemented by DummyFrame (private, for a stack scanning heuristic) * [FrameWalker][] - callbacks that cfi eval uses to read callee state and write caller state. * Implemented by CfiStackWalker (private) The following concrete functions are provided to allow configuration of the symbol fetching strategy: * [http_symbol_supplier][] - a [SymbolSupplier][] that can find symbols over HTTP (and cache). Requires the `http` feature to be enabled. * [simple_symbol_supplier][] - a [SymbolSupplier][] that can find symbols on disk. * [string_symbol_supplier][] - a mock [SymbolSupplier][] for tests. The following concrete types are provided: * [Symbolizer][] - the main interface of the symbolizer, implementing [SymbolProvider][]. * Wraps the [SymbolSupplier][] implementation that is selected. * Queries the [SymbolSupplier] and manages the SymbolFiles however it pleases. * [SymbolStats][] - debug statistic output. * [SymbolFile][] - part of [LocateSymbolsResult][] that a [SymbolProvider][] returns to the Symbolizer. * Never handled by minidump-unwind, public for the trait. * [SymbolError][] - possible errors a [SymbolProvider][] can yield. * Never handled by minidump-unwind, public for the trait. * [FillSymbolError][] - possible errors for `fill_symbol`. * While this *is* handled by minidump-unwind, it doesn't actually look at the value. It's just there to be an Error type for the sake of API design. * [LocateSymbolsResult][] - a payload that a [SymbolProvider][] returns to the Symbolizer. * Never handled by minidump-unwind, public for the trait. * [DebugInfoResult][] - part of [LocateSymbolsResult][] that a [SymbolProvider][] returns to the Symbolizer. * Never handled by minidump-unwind, public for the trait.
13273