slumps icon indicating copy to clipboard operation
slumps copied to clipboard

Enable trace support for wasm-shell (binaryen)

Open Jacarte opened this issue 5 years ago • 1 comments

The header "wasm-interpreter.h" has a definition to use a "standard" trace functionality (see the "NOTE_ENTER" templates).

It would be good to execute wasm binaries with such capability (see WASM_INTERPRETER_DEBUG flag).

As far as I can see, the trace format (in the wasm-intepreter.h file) is somehow a natural language. Probably, it is a good idea to extend it to export CTF format, or use the same format that we include in swam trace support.

Jacarte avatar Oct 30 '19 10:10 Jacarte

It would be good to evaluate wasm binary executions with such capability (see WASM_INTERPRETER_DEBUG flag).

great idea

it is a good idea to extend it to export CTF format

yes!

monperrus avatar Oct 30 '19 13:10 monperrus