diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-11-18 09:39:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-18 09:39:58 -0800 |
commit | af5ebec502f0055889ef1cf7bf6ce37d54c7b64e (patch) | |
tree | f15bdee6700ff090d8bd847c160b364c58ed56e0 /README.md | |
parent | 28dfa0e0238bc0bdb3958e3884e45189ec34e47a (diff) | |
download | binaryen-af5ebec502f0055889ef1cf7bf6ce37d54c7b64e.tar.gz binaryen-af5ebec502f0055889ef1cf7bf6ce37d54c7b64e.tar.bz2 binaryen-af5ebec502f0055889ef1cf7bf6ce37d54c7b64e.zip |
Document wasm-reduce in the readme (#2445)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -156,6 +156,12 @@ This repository contains code that builds the following tools in `bin/`: (going through Binaryen IR). * **wasm2js**: A WebAssembly-to-JS compiler. This is used by Emscripten to generate JavaScript as an alternative to WebAssembly. + * **wasm-reduce**: A testcase reducer for WebAssembly files. Given a wasm file + that is interesting for some reason (say, it crashes a specific VM), + wasm-reduce can find a smaller wasm file that has the same property, which is + often easier to debug. See the + [docs](https://github.com/WebAssembly/binaryen/wiki/Fuzzing#reducing) + for more details. * **wasm-shell**: A shell that can load and interpret WebAssembly code. It can also run the spec test suite. * **wasm-emscripten-finalize**: Takes a wasm binary produced by llvm+lld and |