Struct minidump_processor::StackFrame[][src]

pub struct StackFrame {
    pub instruction: u64,
    pub module: Option<MinidumpModule>,
    pub function_name: Option<String>,
    pub function_base: Option<u64>,
    pub parameter_size: Option<u32>,
    pub source_file_name: Option<String>,
    pub source_line: Option<u32>,
    pub source_line_base: Option<u64>,
    pub trust: FrameTrust,
    pub context: MinidumpContext,
}
Expand description

A single stack frame produced from unwinding a thread’s stack.

Fields

instruction: u64module: Option<MinidumpModule>function_name: Option<String>

The function name, may be omitted if debug symbols are not available.

function_base: Option<u64>

The start address of the function, may be omitted if debug symbols are not available.

parameter_size: Option<u32>

The size, in bytes, of the arguments pushed on the stack for this function. WIN STACK unwinding needs this value to work; it’s otherwise uninteresting.

source_file_name: Option<String>

The source file name, may be omitted if debug symbols are not available.

source_line: Option<u32>

The (1-based) source line number, may be omitted if debug symbols are not available.

source_line_base: Option<u64>

The start address of the source line, may be omitted if debug symbols are not available.

trust: FrameTrust

Amount of trust the stack walker has in the instruction pointer of this frame.

context: MinidumpContext

The CPU context containing register state for this frame.

Implementations

Create a StackFrame from a MinidumpContext.

Return the actual return address, as saved on the stack or in a register. See the comments for StackFrame::instruction for details.

Trait Implementations

Formats the value using the given formatter. Read more

Get the program counter value for this frame.

Set the name, base address, and paramter size of the function in

Set the source file and (1-based) line number this frame represents.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more