summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-11-03 19:31:18 +0000
committerKostya Serebryany <kcc@google.com>2016-11-03 19:31:18 +0000
commit2d1f4f5e9e9f7d7e2ba096323f03dacbdf67ebba (patch)
treea45a2db02e1fb662b0c143edc63787f9d714f763 /docs
parentcbbb2b124316dac1a1fc529a1bd7d97bca2220ad (diff)
[libFuzzer] fix -error_exitcode=N, now with a test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LibFuzzer.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/LibFuzzer.rst b/docs/LibFuzzer.rst
index a1017eb78e5..cf49c8def01 100644
--- a/docs/LibFuzzer.rst
+++ b/docs/LibFuzzer.rst
@@ -240,8 +240,9 @@ The most important command line options are:
The limit is checked in a separate thread every second.
If running w/o ASAN/MSAN, you may use 'ulimit -v' instead.
``-timeout_exitcode``
- Exit code (default 77) to emit when terminating due to timeout, when
- ``-abort_on_timeout`` is not set.
+ Exit code (default 77) used if libFuzzer reports a timeout.
+``-error_exitcode``
+ Exit code (default 77) used if libFuzzer itself (not a sanitizer) reports a bug (leak, OOM, etc).
``-max_total_time``
If positive, indicates the maximum total time in seconds to run the fuzzer.
If 0 (the default), run indefinitely.