wasabi
wasabi copied to clipboard
A dynamic analysis framework for WebAssembly programs.
See https://github.com/danleh/wasabi/issues/31#issuecomment-786532720 Copied from there: remove Long.js dependency completely and use JavaScript BigNums instead, see https://github.com/WebAssembly/proposals/blob/master/finished-proposals.md and https://github.com/WebAssembly/JS-BigInt-integration * this wasn't possible back in 2018 because the proposal wasn't finished...
It would be really great if this tool could help with debugging WASI. I see 2 challenges here: 1. WASI runtimes typically do not have any JS engine at all....
- depends on multiple tables (GC/anyref proposal), multiple memories - source language for analysis that can be compiled to WebAssembly: Rust? AssemblyScript? - analysis API in that language?
Motivation: no "offline" instrumentation step necessary any longer, could (in principle) just add one `wasabi.js` file (with wasm inline) that does all the instrumentation + JS codegen Potential steps: -...
Rust has evolved quite a lot since the starting of Wasabi. In particular, we are now using stable Rust edition 2018. One thing where the old code shows is the...
It would be very useful to be able to modify the state of an operation inside of a hook. E.g. ``` javascript Wasabi.analysis = { binary(location, op, first, second, r)...
Currently, Wasabi inserts a fresh local (quite primitively) for every stack value it needs to duplicate. This causes some binaries with large functions to contain tons of locals after instrumentation....
Its possible to use this with unity games? already have tried but give a lot many errors
I have confirmed the test passing for all the tests in the [valid-wasm-binaries.txt](https://github.com/danleh/wasabi/blob/ddb5a7ac792972f36690029b1b96f7f06ec78fe8/test-inputs/valid-wasm-binaries.txt).
Repository reproducing the problem: https://github.com/doehyunbaek/wasabi_multimodule_fidx Currently, resolveTableIdx relies on name property of the function to resolve function index. https://github.com/danleh/wasabi/blob/21a322b7faac9440b931762aae124ffa57d0fa17/crates/wasabi/js/runtime.js#L45-L51 This does not work when the function is imported from other...