From 7aeaf136fbb8b59c32250a563f1e2ef548c56032 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 21 Jun 2023 10:28:43 -0700 Subject: Fuzzing for Try and Throw (#5776) --- src/tools/fuzzing/parameters.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tools/fuzzing/parameters.h') 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; -- cgit v1.2.3