Crates.io | wasmdbg |
lib.rs | wasmdbg |
version | 0.1.0 |
source | src |
created_at | 2019-10-18 18:08:59.659908 |
updated_at | 2019-10-18 18:08:59.659908 |
description | Debugger for wasm binaries |
homepage | https://github.com/benediktwerner/wasmdbg |
repository | https://github.com/benediktwerner/wasmdbg.git |
max_upload_size | |
id | 173801 |
size | 213,539 |
wasmdbg
is a gdb-like debugger for WebAssembly binaries written in Rust. It currently supports all MVP version 1 binaries as well as a (currently very limited) subset of WASI.
Building and installing wasmdbg
requires a Rust Installation.
To install wasmdbg
:
$ git clone https://github.com/benediktwerner/wasmdbg
$ cargo install --path wasmdbg
$ wasmdbg --version
To build wasmdbg
:
$ git clone https://github.com/benediktwerner/wasmdbg
$ cd wasmdbg
$ cargo build
$ ./target/debug/wasmdbg --version
wasi_unstable.proc_exit
)break
watch memory/global
step
next
finish
disas
context
, locals
, globals
, value stack
, backtrace
and labels
stackset local/global/memory/stack
)info file/imports/exports/functions/tables/memory/globals/start
call
.wasmdbg_init
filepython
To view all available commands use the help
command.
To learn more about a specific command use help COMMAND
.