summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerOptions.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2019-02-15 21:51:15 +0000
committerKostya Serebryany <kcc@google.com>2019-02-15 21:51:15 +0000
commit9982ee5472f87059cee75146293d0742f95bacc8 (patch)
treeac683d4c69d22595ef1823427fef62321d20b28d /compiler-rt/lib/fuzzer/FuzzerOptions.h
parent1dcff8d17ca44abb090ed38d3ef70d25c8e3465c (diff)
downloadbcm5719-llvm-9982ee5472f87059cee75146293d0742f95bacc8.tar.gz
bcm5719-llvm-9982ee5472f87059cee75146293d0742f95bacc8.zip
[libFuzzer] form mode: add -ignore_crashes flag, honor the max_total_time flag, print the number of ooms/timeouts/crashes, fix a typo
llvm-svn: 354175
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerOptions.h')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerOptions.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerOptions.h b/compiler-rt/lib/fuzzer/FuzzerOptions.h
index 628603ff520..7a607e8eec5 100644
--- a/compiler-rt/lib/fuzzer/FuzzerOptions.h
+++ b/compiler-rt/lib/fuzzer/FuzzerOptions.h
@@ -23,8 +23,9 @@ struct FuzzingOptions {
int OOMExitCode = 71;
int InterruptExitCode = 72;
int ErrorExitCode = 77;
- bool IgnoreTimeouts = 1;
- bool IgnoreOOMs = 1;
+ bool IgnoreTimeouts = true;
+ bool IgnoreOOMs = true;
+ bool IgnoreCrashes = false;
int MaxTotalTimeSec = 0;
int RssLimitMb = 0;
int MallocLimitMb = 0;
OpenPOWER on IntegriCloud