struct Protocol::Debugger::DisassembleWasmModule

Included Modules

Defined in:

protocol/debugger.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def chunk : WasmDisassemblyChunk #

The first chunk of disassembly.


[View source]
def function_body_offsets : Array(Int::Primitive) #

The offsets of all function bodies, in the format [start1, end1, start2, end2, ...] where all ends are exclusive.


[View source]
def stream_id : String | Nil #

For large modules, return a stream from which additional chunks of disassembly can be read successively.


[View source]
def total_number_of_lines : Int::Primitive #

The total number of lines in the disassembly text.


[View source]