diff options
| author | Kostya Serebryany <kcc@google.com> | 2019-02-09 00:16:21 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2019-02-09 00:16:21 +0000 |
| commit | 0fda9dcbe9afe607fe9d25a6d733126bed3d0a3b (patch) | |
| tree | 3728c0cc6d439f6ed34bde54a37f48e97044c4f1 /compiler-rt/lib/fuzzer/FuzzerOptions.h | |
| parent | 91970564191bfc40ea9f2c8d32cc1fb6c314515c (diff) | |
| download | bcm5719-llvm-0fda9dcbe9afe607fe9d25a6d733126bed3d0a3b.tar.gz bcm5719-llvm-0fda9dcbe9afe607fe9d25a6d733126bed3d0a3b.zip | |
[libFuzzer] more refactoring; change some of the exit codes (timeout, OOM, interrupt) so that the parent process can distinguish those
llvm-svn: 353584
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerOptions.h')
| -rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerOptions.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerOptions.h b/compiler-rt/lib/fuzzer/FuzzerOptions.h index 3f8e959f490..868327d58d0 100644 --- a/compiler-rt/lib/fuzzer/FuzzerOptions.h +++ b/compiler-rt/lib/fuzzer/FuzzerOptions.h @@ -19,7 +19,9 @@ struct FuzzingOptions { size_t MaxLen = 0; size_t LenControl = 1000; int UnitTimeoutSec = 300; - int TimeoutExitCode = 77; + int TimeoutExitCode = 70; + int OOMExitCode = 71; + int InterruptExitCode = 72; int ErrorExitCode = 77; int MaxTotalTimeSec = 0; int RssLimitMb = 0; |

