Find
C
ase-sensitive
R
egexp search
Path
mozilla-central
/
third_party
/
rust
/
breakpad-symbols
/
src
Navigation
Enable keyboard shortcuts
Name
Description
Size
http.rs
Contains HTTP symbol retrieval specific functionality
19787
lib.rs
A library for working with [Google Breakpad][breakpad]'s text-format [symbol files][symbolfiles]. See the [walker][] module for documentation on CFI evaluation. The highest-level API provided by this crate is to use the [`Symbolizer`][symbolizer] struct. [breakpad]: https://chromium.googlesource.com/breakpad/breakpad/+/master/ [symbolfiles]: https://chromium.googlesource.com/breakpad/breakpad/+/master/docs/symbol_files.md [symbolizer]: struct.Symbolizer.html # Examples ``` # std::env::set_current_dir(env!("CARGO_MANIFEST_DIR")); use breakpad_symbols::{SimpleSymbolSupplier, Symbolizer, SimpleFrame, SimpleModule}; use debugid::DebugId; use std::path::PathBuf; use std::str::FromStr; #[tokio::main] async fn main() { let paths = vec!(PathBuf::from("../testdata/symbols/")); let supplier = SimpleSymbolSupplier::new(paths); let symbolizer = Symbolizer::new(supplier); // Simple function name lookup with debug file, debug id, address. let debug_id = DebugId::from_str("5A9832E5287241C1838ED98914E9B7FF1").unwrap(); assert_eq!(symbolizer.get_symbol_at_address("test_app.pdb", debug_id, 0x1010) .await .unwrap(), "vswprintf"); } ```
45315
sym_file