pub struct BreakpadStackWinRecord<'d> {
    pub ty: BreakpadStackWinRecordType,
    pub code_start: u32,
    pub code_size: u32,
    pub prolog_size: u16,
    pub epilog_size: u16,
    pub params_size: u32,
    pub saved_regs_size: u16,
    pub locals_size: u32,
    pub max_stack_size: u32,
    pub uses_base_pointer: bool,
    pub program_string: Option<&'d str>,
}
Expand description

A Windows stack frame record, used on x86.

Example: STACK WIN 4 2170 14 1 0 0 0 0 0 1 $eip 4 + ^ = $esp $ebp 8 + = $ebp $ebp ^ =

Fields

ty: BreakpadStackWinRecordType

The type of frame data this record holds.

code_start: u32

The starting address covered by this record, relative to the module’s load address.

code_size: u32

The number of bytes covered by this record.

prolog_size: u16

The size of the prologue machine code within the record’s range in bytes.

epilog_size: u16

The size of the epilogue machine code within the record’s range in bytes.

params_size: u32

The number of bytes this function expects to be passed as arguments.

saved_regs_size: u16

The number of bytes used by this function to save callee-saves registers.

locals_size: u32

The number of bytes used to save this function’s local variables.

max_stack_size: u32

The maximum number of bytes pushed on the stack in the frame.

uses_base_pointer: bool

Whether this function uses the base pointer register as a general-purpose register.

This is only relevant for records of type 0 (FPO).

program_string: Option<&'d str>

A string describing a program for recovering the caller’s register values.

This is only expected to be present for records of type 4 (FrameData).

Implementations

Parses a Windows stack record from a single line.

Returns the range of addresses covered by this record.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Converts self into T using Into<T>. Read more

Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more

Causes self to use its Binary implementation when Debug-formatted. Read more

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted. Read more

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Formats each item in a sequence. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Attempts to convert self into T using TryInto<T>. Read more

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.