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: u64
module: 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
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
impl RefUnwindSafe for StackFrame
impl Send for StackFrame
impl Sync for StackFrame
impl Unpin for StackFrame
impl UnwindSafe for StackFrame
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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