diff options
author | Alon Zakai <azakai@google.com> | 2023-02-16 09:31:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 17:31:24 +0000 |
commit | cd90ef436e9038331ce52e24db3ead6312426e8b (patch) | |
tree | b3f771036b55e4723ab4c43f63a86dc25905ea54 /test/lit/passes/optimize-instructions-strings.wast | |
parent | 0cffeb58f88b086ff7b195fc7d2440add92803fc (diff) | |
download | binaryen-cd90ef436e9038331ce52e24db3ead6312426e8b.tar.gz binaryen-cd90ef436e9038331ce52e24db3ead6312426e8b.tar.bz2 binaryen-cd90ef436e9038331ce52e24db3ead6312426e8b.zip |
Fuzzer: Replace with unreachable sometimes (#5496)
This makes the fuzzer replace things with an unreachable instruction in
rare situations. The hope was to find bugs like #5487, but instead it's
mostly found bugs in the inliner actually (#5492, #5493).
This also fixes an uncovered bug in the fuzzer, where we refinalized in
more than one place. It is unsafe to do so before labels are fixed up
(as duplicate labels can confuse us as to which types are needed; this
is actually the same issue as in #5492). To fix that, remove the extra
refinalize that was too early, and also rename the fixup function since
it does a general fixup for all the things.
Diffstat (limited to 'test/lit/passes/optimize-instructions-strings.wast')
0 files changed, 0 insertions, 0 deletions