class Wasmer::Frame

Overview

Frame represents a frame of a WebAssembly stack trace.

Defined in:

wasmer/trap.cr

Instance Method Summary

Instance Method Detail

def function_index #

Returns the function index in the original WebAssembly module that this frame corresponds to


[View source]
def function_offset #

Returns the byte offset from the beginning of the function in the original WebAssembly file to the instruction this frame points to


[View source]
def instance #

TODO See https://github.com/wasmerio/wasmer/blob/6fbc903ea32774c830fd9ee86140d1406ac5d745/lib/c-api/src/wasm_c_api/types/frame.rs#L31-L34


[View source]
def module_offset #

Returns the byte offset from the beginning of the original WebAssembly file to the instruction this frame points to.


[View source]