https://github.com/xtuc/wasm-coredump
Monorepo for generating, parsing, debugging WebAssembly coredump
https://github.com/xtuc/wasm-coredump
coredump wasm
Last synced: over 1 year ago
JSON representation
Monorepo for generating, parsing, debugging WebAssembly coredump
- Host: GitHub
- URL: https://github.com/xtuc/wasm-coredump
- Owner: xtuc
- Created: 2023-01-24T21:38:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-31T13:41:49.000Z (over 1 year ago)
- Last Synced: 2025-03-29T22:05:29.031Z (over 1 year ago)
- Topics: coredump, wasm
- Language: Rust
- Homepage:
- Size: 541 KB
- Stars: 35
- Watchers: 4
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebAssembly Coredump
> Monorepo for generating, parsing, debugging WebAssembly coredumps.
See [demo] for an overview about how to use Wasm coredumps.
## Debugging
> Think gdb for WebAssembly
See [wasmgdb] for documentation.
## Use Coredump today
Since no Wasm engine support exists today, you an use [wasm-coredump-rewriter] to inject Coredump
support.
## Coredump format
See [specificiation].
## Troubleshooting
### Running into stack overflow
Some Wasm binaries have very recursive flow of control, increase the maximum stack size:
```
$ ulimit -s 160000
```
[wasmgdb]: bin/wasmgdb/README.md
[demo]: bin/wasmgdb/demo.md
[specificiation]: https://github.com/WebAssembly/tool-conventions/blob/main/Coredump.md
[wasm-coredump-rewriter]: bin/rewriter/README.md