diff options
author | Ben Smith <binjimin@gmail.com> | 2017-05-12 16:34:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 16:34:54 -0700 |
commit | 5d10e89b5d796edc62cfb6bc3f806d8a1b1272c0 (patch) | |
tree | 5d75d64fbaa4b6cb5f6d945bfc4235066e5b2574 /src/binary-reader-objdump.cc | |
parent | a220185a7adc14251d86fb8d22141f5596f8ed30 (diff) | |
download | wabt-5d10e89b5d796edc62cfb6bc3f806d8a1b1272c0.tar.gz wabt-5d10e89b5d796edc62cfb6bc3f806d8a1b1272c0.tar.bz2 wabt-5d10e89b5d796edc62cfb6bc3f806d8a1b1272c0.zip |
Add fuzzing helper scripts, fix fuzzing bugs (#416)
* Add fuzzing helper scripts, fix fuzzing bugs
The fuzzing dictionary was old, so I updated it. Also, I've added some
simple fuzzing shell scripts that make it a bit easier to run.
Bug fixes:
* Validate function index in local name section before calling callback.
* Fix invalid assert in parse_{float,double}_infinity, which assumed
that "infinity" is required (it could be "inf").
* Bail out of resolve local names if there is no current function (e.g.
if attempting to resolve names in an elem offset expression).
* Catch bad_alloc in wast2wasm and wasm2wast. Without this, afl-fuzz
will see allocation failure as a crash.
* disable exceptions by default, add option, wrap tools in try/catch
Diffstat (limited to 'src/binary-reader-objdump.cc')
0 files changed, 0 insertions, 0 deletions