Struct wasmparser::CoreDumpStackFrame
source · pub struct CoreDumpStackFrame {
pub instanceidx: u32,
pub funcidx: u32,
pub codeoffset: u32,
pub locals: Vec<CoreDumpValue>,
pub stack: Vec<CoreDumpValue>,
}
Expand description
A single stack frame from a core dump
Fields§
§instanceidx: u32
The instance that this stack frame belongs to.
funcidx: u32
The function index in the module
codeoffset: u32
The instruction’s offset relative to the function’s start
locals: Vec<CoreDumpValue>
The locals for this stack frame (including function parameters)
stack: Vec<CoreDumpValue>
The values on the stack
Trait Implementations§
source§impl Debug for CoreDumpStackFrame
impl Debug for CoreDumpStackFrame
source§impl<'a> FromReader<'a> for CoreDumpStackFrame
impl<'a> FromReader<'a> for CoreDumpStackFrame
source§fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.