[PATCH] D139284: Fix LibFuzzer documentation (timeout exit code)

George Pollard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 4 18:17:22 PST 2022


Porges created this revision.
Porges added a reviewer: kcc.
Herald added a project: All.
Porges requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The current documentation claims that timeout and internal error default to the same exit code (77). This is incorrect; timeouts default to `70`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139284

Files:
  llvm/docs/LibFuzzer.rst


Index: llvm/docs/LibFuzzer.rst
===================================================================
--- llvm/docs/LibFuzzer.rst
+++ llvm/docs/LibFuzzer.rst
@@ -281,7 +281,7 @@
   number of Mb with one malloc call.
   If zero (default) same limit as rss_limit_mb is applied.
 ``-timeout_exitcode``
-  Exit code (default 77) used if libFuzzer reports a timeout.
+  Exit code (default 70) 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``


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139284.479957.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221205/45a9e104/attachment.bin>


More information about the llvm-commits mailing list