Struct breakpad::Resolver [] [src]

pub struct Resolver { /* fields omitted */ }

Source line resolver for stack frames. Handles Breakpad symbol files and searches them for instructions.

To use this resolver, obtain a list of referenced modules from a ProcessState and load all of them into the resolver. Once symbols have been loaded for a CodeModule, the resolver can fill frames with source line information.

See ResolvedStackFrame for all available information.

Methods

impl Resolver
[src]

[src]

Creates a new Resolver instance from a Breakpad symbol file in the file system

[src]

Creates a new Resolver instance from a buffer containing Breakpad symbols

[src]

Returns whether this Resolver is corrupt or it can be used to resolve source line locations of StackFrames.

[src]

Tries to locate the frame's instruction in the loaded code modules. Returns a resolved stack frame instance. If no symbols can be found for the frame, a clone of the input is returned.

Trait Implementations

impl Drop for Resolver
[src]

[src]

Executes the destructor for this type. Read more