Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kateinoigakukun/wasminspect
An interactive debugger for WebAssembly
https://github.com/kateinoigakukun/wasminspect
Last synced: about 2 months ago
JSON representation
An interactive debugger for WebAssembly
- Host: GitHub
- URL: https://github.com/kateinoigakukun/wasminspect
- Owner: kateinoigakukun
- License: mit
- Created: 2019-12-24T06:49:14.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-16T18:49:26.000Z (12 months ago)
- Last Synced: 2024-10-11T12:24:27.507Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 1.28 MB
- Stars: 137
- Watchers: 7
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-wasm-tools - repo
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](https://github.com/kateinoigakukun/wasminspect/workflows/Check/badge.svg)
![demo](./assets/demo.gif)
## [Tutorial](./docs/tutorial.md)
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](./docs/tutorial.md)## 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:
```sh
$ export SWIFT_RUNTIME_LIB_DIR=$(xcrun -show-sdk-path)/usr/lib/swift
$ cargo build --features swift-extension
```On Linux:
```sh
$ 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
```