diff options
author | Alon Zakai <azakai@google.com> | 2023-06-21 10:28:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 10:28:43 -0700 |
commit | 7aeaf136fbb8b59c32250a563f1e2ef548c56032 (patch) | |
tree | fef070c37a61c88cdef815cf3bd5c59e8b26962c /src/tools/fuzzing/parameters.h | |
parent | b783932cd3c27b3a5fc1cde300a0a78bb05e15bc (diff) | |
download | binaryen-7aeaf136fbb8b59c32250a563f1e2ef548c56032.tar.gz binaryen-7aeaf136fbb8b59c32250a563f1e2ef548c56032.tar.bz2 binaryen-7aeaf136fbb8b59c32250a563f1e2ef548c56032.zip |
Fuzzing for Try and Throw (#5776)
Diffstat (limited to 'src/tools/fuzzing/parameters.h')
-rw-r--r-- | src/tools/fuzzing/parameters.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/fuzzing/parameters.h b/src/tools/fuzzing/parameters.h index dd5c8d82c..51531681b 100644 --- a/src/tools/fuzzing/parameters.h +++ b/src/tools/fuzzing/parameters.h @@ -67,6 +67,10 @@ constexpr int HANG_LIMIT = 100; // the maximum amount of new GC types (structs, etc.) to create constexpr int MAX_NEW_GC_TYPES = 25; +// the maximum amount of catches in each try (not including a catch-all, if +// present). +constexpr int MAX_TRY_CATCHES = 4; + // constexpr size_t VeryImportant = 4; constexpr size_t Important = 2; |