diff options
author | Alon Zakai <azakai@google.com> | 2019-07-01 19:22:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 19:22:08 -0700 |
commit | c3e45d4e5272486fae1ffb353c56e4d117fe4a21 (patch) | |
tree | a05826cdb1b587d1df7ec67cbc8c075635e064ac /src/wasm/wasm.cpp | |
parent | be3135ca8db88ed7445dc2dd12ea78f55d963c7d (diff) | |
download | binaryen-c3e45d4e5272486fae1ffb353c56e4d117fe4a21.tar.gz binaryen-c3e45d4e5272486fae1ffb353c56e4d117fe4a21.tar.bz2 binaryen-c3e45d4e5272486fae1ffb353c56e4d117fe4a21.zip |
Limit interpreter depth in precompute, but not when running whole modules (#2191)
Keep limiting in precompute as before: that is useful since that pass is run as part of normal compilation, and we want to avoid native stack limits on all platforms. Also that pass is not likely to find any pattern of size 50 of higher that it can't precompute as a sum of smaller pieces.
Restore the 250 limit from before for interpreting entire modules, as without that the fuzzer will sometimes hit the limit and cause a false positive.
Diffstat (limited to 'src/wasm/wasm.cpp')
0 files changed, 0 insertions, 0 deletions