diff options
author | Alon Zakai <azakai@google.com> | 2023-03-10 09:29:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 09:29:55 -0800 |
commit | ed8621953c9c1165512ca83d8804289184bb6f22 (patch) | |
tree | 56d097219da17b8980f1290f18ae11cced946831 /src/tools/fuzzing/fuzzing.cpp | |
parent | 4f28d966f3366827fb1d19cd107203935135658b (diff) | |
download | binaryen-ed8621953c9c1165512ca83d8804289184bb6f22.tar.gz binaryen-ed8621953c9c1165512ca83d8804289184bb6f22.tar.bz2 binaryen-ed8621953c9c1165512ca83d8804289184bb6f22.zip |
TrapsNeverHappen fuzzing: Handle a trap vs a host limitation (#5560)
If the program tries to allocate an infinite number of objects, but is
prevented from doing that by a null pointer trap, then after we run
with trapsNeverHappen the trap may fail to occur, and we'll hit the
host limitation on allocations. As a result, we'd be comparing one
run with a trap and one run that is meant to be ignored (as we ignore
runs with host limitations), and before this PR we'd error as we would
expect to find the normal output and not the "ignore this host
limitation" marker.
Diffstat (limited to 'src/tools/fuzzing/fuzzing.cpp')
0 files changed, 0 insertions, 0 deletions