Next: Interpreter, Previous: Binary Parser, Up: Toolchain reference [Contents][Index]
The (wasm dump)
module provides the dump-wasm
procedure
for generating a detailed print-out of a Wasm module’s contents. See
also Low-level development tools for the wasm-dump
REPL
command.
Write a detailed inventory of the Wasm module mod to port
or the current output port if port is not specified. If
dump-func-defs? is #t
, which is the default, all function
definitions are printed, including the instructions in the body of
each. Depending on the size of the module, this may be an
overwhelming amount of data, thus it is made optional.