kateinoigakukun / wasminspect

An interactive debugger for WebAssembly
MIT License
136 stars 7 forks source link

Consider building wasminspect.wasm #22

Open vshymanskyy opened 3 years ago

vshymanskyy commented 3 years ago

It would be mind-blowing to have a debugger which itslef runs in WASI environment. Wasm3 already showcased WASI self-hosting (via MetaWASI), so basically we have a POC already.

Just an idea ;)

vshymanskyy commented 3 years ago

@kateinoigakukun WDYT 😁

kateinoigakukun commented 3 years ago

@vshymanskyy Interesting! And I'm really surprised that wasm3 is now self-hosted! However I didn't implement this software to be portable, so I'm not sure how difficult it is. One possible plan is exposing VM control API of wasm3 and use it from wasminspect to re-use portable wasm3 implementation.