kateinoigakukun/wasminspect

An interactive debugger for WebAssembly

Rust

144

739 commits

updated Dec 16, 2023

See the code

README

Wasminspect: An Interactive Debugger for WebAssembly

Wasminspect is an interactive debugger for WebAssembly like lldb. It can be used for WebAssembly code and WASI applications also.

Check

demo

Tutorial

Let's try to debug your WebAssembly binary!

Features

  • Full WASI supports
  • Breakpoints
  • Process control
    • step-in, step-over and step-out
  • Dump memory space
  • Parse and evaluate DWARF debug information
  • more detail

Swift Extension

wasminspect support some Swift specific features. To enable these features, please build on your machine because it requires swift runtime library.

On macOS:

$ export SWIFT_RUNTIME_LIB_DIR=$(xcrun -show-sdk-path)/usr/lib/swift
$ cargo build --features swift-extension

On Linux:

$ export SWIFT_RUNTIME_LIB_DIR=/path/to/lib/swift/linux # e.g. $HOME/.swiftenv/versions/5.2-RELEASE/usr/lib/swift/linux
$ RUSTFLAGS="-C link-args=-Wl,-rpath,$SWIFT_RUNTIME_LIB_DIR" cargo +nightly build --features swift-extension

kateinoigakukun/wasminspect

An interactive debugger for WebAssembly

Rust

144

739 commits

updated Dec 16, 2023

See the code

README

Wasminspect: An Interactive Debugger for WebAssembly

Wasminspect is an interactive debugger for WebAssembly like lldb. It can be used for WebAssembly code and WASI applications also.

Check

demo

Tutorial

Let's try to debug your WebAssembly binary!

Features

  • Full WASI supports
  • Breakpoints
  • Process control
    • step-in, step-over and step-out
  • Dump memory space
  • Parse and evaluate DWARF debug information
  • more detail

Swift Extension

wasminspect support some Swift specific features. To enable these features, please build on your machine because it requires swift runtime library.

On macOS:

$ export SWIFT_RUNTIME_LIB_DIR=$(xcrun -show-sdk-path)/usr/lib/swift
$ cargo build --features swift-extension

On Linux:

$ export SWIFT_RUNTIME_LIB_DIR=/path/to/lib/swift/linux # e.g. $HOME/.swiftenv/versions/5.2-RELEASE/usr/lib/swift/linux
$ RUSTFLAGS="-C link-args=-Wl,-rpath,$SWIFT_RUNTIME_LIB_DIR" cargo +nightly build --features swift-extension

Significant stargazers

Adrian Cole

908 followers · starred Dec 2022

Sébastien Deleuze

1,384 followers · starred Apr 2022

quininer

739 followers · starred Mar 2021

Christoph Herzog

140 followers · starred Apr 2022