Pass --enable-all to wasm2json when building corpus out of spectests.

This commit is contained in:
Nick Lewycky 2019-11-08 10:41:42 -08:00
parent 38f4fdb195
commit 37268b2f46

View File

@ -47,7 +47,7 @@ The fuzzer works best when it has examples of small Wasm files to start with. Us
```sh
mkdir spec-test-corpus
for i in lib/spectests/spectests/*.wast; do wast2json $i -o spec-test-corpus/$(basename $i).json; done
for i in lib/spectests/spectests/*.wast; do wast2json --enable-all $i -o spec-test-corpus/$(basename $i).json; done
mv spec-test-corpus/*.wasm fuzz/corpus/simple_instantiate/
rm -r spec-test-corpus
```