Struct breakpad_symbols::SymbolFile
[−]
[src]
pub struct SymbolFile { pub files: HashMap<u32, String>, pub publics: Vec<PublicSymbol>, pub functions: RangeMap<u64, Function>, pub cfi_stack_info: RangeMap<u64, StackInfoCFI>, pub win_stack_framedata_info: RangeMap<u64, StackInfoWin>, pub win_stack_fpo_info: RangeMap<u64, StackInfoWin>, }
A parsed .sym file containing debug symbols.
Fields
files: HashMap<u32, String>
The set of source files involved in compilation.
publics: Vec<PublicSymbol>
Publicly visible symbols.
functions: RangeMap<u64, Function>
Functions.
cfi_stack_info: RangeMap<u64, StackInfoCFI>
DWARF CFI unwind information.
win_stack_framedata_info: RangeMap<u64, StackInfoWin>
Windows unwind information (frame data).
win_stack_fpo_info: RangeMap<u64, StackInfoWin>
Windows unwind information (FPO data).
Methods
impl SymbolFile
[src]
fn from_file(path: &Path) -> Result<SymbolFile, &'static str>
[src]
Parse a SymbolFile
from path
.
fn from_bytes(bytes: &[u8]) -> Result<SymbolFile, &'static str>
[src]
Parse an in-memory SymbolFile
from bytes
.
fn fill_symbol(&self, module: &Module, frame: &mut FrameSymbolizer)
[src]
Fill in as much source information for frame
as possible.
fn find_nearest_public(&self, addr: u64) -> Option<&PublicSymbol>
[src]
Find the nearest PublicSymbol
whose address is less than or equal to addr
.
Trait Implementations
impl Debug for SymbolFile
[src]
impl PartialEq for SymbolFile
[src]
fn eq(&self, __arg_0: &SymbolFile) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SymbolFile) -> bool
[src]
This method tests for !=
.