summaryrefslogtreecommitdiff
path: root/src/tools/fuzzing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/fuzzing.h')
-rw-r--r--src/tools/fuzzing.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h
index bdadaba5a..5529a14a8 100644
--- a/src/tools/fuzzing.h
+++ b/src/tools/fuzzing.h
@@ -89,6 +89,11 @@ private:
// of bounds (which traps in wasm, and is undefined behavior in C).
bool allowOOB = true;
+ // Whether we allow the fuzzer to add unreachable code when generating changes
+ // to existing code. This is randomized during startup, but could be an option
+ // like the above options eventually if we find that useful.
+ bool allowAddingUnreachableCode;
+
// Whether to emit atomic waits (which in single-threaded mode, may hang...)
static const bool ATOMIC_WAITS = false;