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/FuzzerOptions.h | |
| 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/FuzzerOptions.h')
| -rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerOptions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerOptions.h b/compiler-rt/lib/fuzzer/FuzzerOptions.h index 868327d58d0..628603ff520 100644 --- a/compiler-rt/lib/fuzzer/FuzzerOptions.h +++ b/compiler-rt/lib/fuzzer/FuzzerOptions.h @@ -23,6 +23,8 @@ struct FuzzingOptions { int OOMExitCode = 71; int InterruptExitCode = 72; int ErrorExitCode = 77; + bool IgnoreTimeouts = 1; + bool IgnoreOOMs = 1; int MaxTotalTimeSec = 0; int RssLimitMb = 0; int MallocLimitMb = 0; |

