Merge pull request #937 from wasmerio/nlewycky/fuzzer-spectests-extensions

Pass --enable-all to wasm2json when building corpus out of spectests.
This commit is contained in:
Syrus Akbary 2019-11-08 11:43:45 -08:00 committed by GitHub
commit e80ffed109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
```