diff options
author | Kostya Serebryany <kcc@google.com> | 2019-02-12 02:18:53 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2019-02-12 02:18:53 +0000 |
commit | cdbb9dc9625a8ce14cb0841a4aab613b0ead23d1 (patch) | |
tree | 7814f131702cdade0fdf2a7cbfaeae0ea9b6dcfa /compiler-rt/lib/fuzzer/FuzzerFlags.def | |
parent | cfc512ab44e20049b82e7cc61102db88f91ccc93 (diff) | |
download | bcm5719-llvm-cdbb9dc9625a8ce14cb0841a4aab613b0ead23d1.tar.gz bcm5719-llvm-cdbb9dc9625a8ce14cb0841a4aab613b0ead23d1.zip |
[libFuzzer] teach the fork mode to ignore OOMs and timeouts
llvm-svn: 353792
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerFlags.def')
-rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerFlags.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerFlags.def b/compiler-rt/lib/fuzzer/FuzzerFlags.def index caf541be820..d194a894f94 100644 --- a/compiler-rt/lib/fuzzer/FuzzerFlags.def +++ b/compiler-rt/lib/fuzzer/FuzzerFlags.def @@ -43,6 +43,8 @@ FUZZER_FLAG_INT(max_total_time, 0, "If positive, indicates the maximal total " FUZZER_FLAG_INT(help, 0, "Print help.") FUZZER_FLAG_INT(fork, 0, "Experimental mode where fuzzing happens " "in a subprocess") +FUZZER_FLAG_INT(ignore_timeouts, 1, "Ignore timeouts in fork mode") +FUZZER_FLAG_INT(ignore_ooms, 1, "Ignore OOMs in fork mode") FUZZER_FLAG_INT(merge, 0, "If 1, the 2-nd, 3-rd, etc corpora will be " "merged into the 1-st corpus. Only interesting units will be taken. " "This flag can be used to minimize a corpus.") |