diff options
author | Alon Zakai <azakai@google.com> | 2024-04-29 13:43:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 13:43:39 -0700 |
commit | 497ffe211d68debcca05bf67e8439206db100cd3 (patch) | |
tree | d1deaf2cfb0be46a1878f8c6af84bbf8149758b7 /scripts/fuzz_opt.py | |
parent | 8c99af063794e022f22dfb013f99ec25857ace5f (diff) | |
download | binaryen-497ffe211d68debcca05bf67e8439206db100cd3.tar.gz binaryen-497ffe211d68debcca05bf67e8439206db100cd3.tar.bz2 binaryen-497ffe211d68debcca05bf67e8439206db100cd3.zip |
[Strings] Limit string allocations like we do arrays (#6562)
When we concat strings, check if their length exceeds a reasonable
limit. (We do not need to do this for string.new as that reads from an
array, which is already properly limited.)
This avoids very slow pauses in the fuzzer (that sometimes OOM).
Diffstat (limited to 'scripts/fuzz_opt.py')
0 files changed, 0 insertions, 0 deletions