Hi there,
We did a regression test on previous commits. And we still discovered an Assertion. This probelm was very different to found. Please use "./wasm2js $POC" to reproduce the error.
POC.zip
program output
Assertion `func->localIndices.size() == func->params.size()' failed.
We use the master branch for testing. Git log are shown as follow.
commit e63c4a7d04c145dafaf4b09de5f9f5de69cee8ef
Author: Alon Zakai <[email protected]>
Date: Tue Jan 22 17:15:37 2019 -0800
More misc ASAN fixes (#1882)
* fix buffer overflow in simple_ast.h printing.
* check wasm binary format reading of function export indexes for errors.
* check if s-expr format imports have a non-empty module and base.
Fixes #1876
Fixes #1877
Fixes #1879
Other fixes are very effective, and it's hard to find other problems. Thank you for attention!