diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-03-06 10:21:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 10:21:48 -0800 |
commit | e8b75397304ca6d6c2ef87217df07e697248a576 (patch) | |
tree | 7da3e3f94b5cd74e969bc529181a8b8d29dfcf8c /src/wasm-emscripten.cpp | |
parent | e5dd0fdfc554be665cbe586fbbe4f9d038f5b9d6 (diff) | |
download | binaryen-e8b75397304ca6d6c2ef87217df07e697248a576.tar.gz binaryen-e8b75397304ca6d6c2ef87217df07e697248a576.tar.bz2 binaryen-e8b75397304ca6d6c2ef87217df07e697248a576.zip |
afl-fuzz fixes for table/memory instantiation (#1460)
* replace assert with a proper trap for an invalid offset in table initialization
* fix offset handling in initial table size computation: it is an unsigned value
* handle traps in fuzz-exec when creating instance
* optimization may remove imports - and imported table init may trap, so opts may remove that trap. check for result comparisons in the right order, so we don't get bothered by that
Diffstat (limited to 'src/wasm-emscripten.cpp')
0 files changed, 0 insertions, 0 deletions