summaryrefslogtreecommitdiff
path: root/src/ir/module-utils.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-03-04 15:55:36 -0800
committerGitHub <noreply@github.com>2024-03-04 15:55:36 -0800
commit00ed4115fb89a0fac3231eba07f5f737cf721acd (patch)
tree6031d9747b8165cd5b079793a44adce5cc608d3a /src/ir/module-utils.cpp
parent53f8d5f7bd32c8b47ee235033f3f913a8f3f2d09 (diff)
downloadbinaryen-00ed4115fb89a0fac3231eba07f5f737cf721acd.tar.gz
binaryen-00ed4115fb89a0fac3231eba07f5f737cf721acd.tar.bz2
binaryen-00ed4115fb89a0fac3231eba07f5f737cf721acd.zip
Fuzzer: Ignore fuzz testcases that make VMs run out of stack (#6376)
When the stack runs out is observable and optimizations can change it, so we must ignore such testcases. Also add some logic to help debug stuff like this, as suggested by tlively in the past, to add some metrics on the reasons we ignored a testcase. That emits something like this: (ignored 253 iters, for reasons {'too many errors vs calls': 230, '[host limit ': 20, 'uninitialized non-defaultable local': 3}) As a drive by make the metrics print wasm bytes/iter rather than by second (the former is easy to compute from the latter anyhow, and the latter is more interesting I think).
Diffstat (limited to 'src/ir/module-utils.cpp')
0 files changed, 0 insertions, 0 deletions