[llvm] r238236 - [lib/Fuzzer] fix docs

Kostya Serebryany kcc at google.com
Tue May 26 12:32:52 PDT 2015


Author: kcc
Date: Tue May 26 14:32:52 2015
New Revision: 238236

URL: http://llvm.org/viewvc/llvm-project?rev=238236&view=rev
Log:
[lib/Fuzzer] fix docs

Modified:
    llvm/trunk/docs/LibFuzzer.rst
    llvm/trunk/lib/Fuzzer/FuzzerFlags.def

Modified: llvm/trunk/docs/LibFuzzer.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LibFuzzer.rst?rev=238236&r1=238235&r2=238236&view=diff
==============================================================================
--- llvm/trunk/docs/LibFuzzer.rst (original)
+++ llvm/trunk/docs/LibFuzzer.rst Tue May 26 14:32:52 2015
@@ -28,7 +28,7 @@ This library is intended primarily for i
   fuzzer (a directory with test inputs, one file per input).
   The better your inputs are the faster you will find something interesting.
   Also try to keep your inputs small, otherwise the Fuzzer will run too slow.
-  By default, the Fuzzer limits the size of every input by 64 bytes
+  By default, the Fuzzer limits the size of every input to 64 bytes
   (use ``-max_len=N`` to override).
 * Run the fuzzer with the test corpus. As new interesting test cases are
   discovered they will be added to the corpus. If a bug is discovered by
@@ -56,7 +56,7 @@ The most important flags are::
 
   seed                               	0	Random seed. If 0, seed is generated.
   runs                               	-1	Number of individual test runs (-1 for infinite runs).
-  max_len                            	64	Maximal length of the test input.
+  max_len                            	64	Maximum length of the test input.
   cross_over                         	1	If 1, cross over inputs.
   mutate_depth                       	5	Apply this number of consecutive mutations to each input.
   timeout                            	-1	Timeout in seconds (if positive). If one unit runs more than this number of seconds the process will abort.
@@ -67,7 +67,7 @@ The most important flags are::
   tokens                             	0	Use the file with tokens (one token per line) to fuzz a token based input language.
   apply_tokens                       	0	Read the given input file, substitute bytes  with tokens and write the result to stdout.
   sync_command                       	0	Execute an external command "<sync_command> <test_corpus>" to synchronize the test corpus.
-  sync_timeout                       	600	Minimal timeout between syncs.
+  sync_timeout                       	600	Minimum timeout between syncs.
 
 For the full list of flags run the fuzzer binary with ``-help=1``.
 

Modified: llvm/trunk/lib/Fuzzer/FuzzerFlags.def
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerFlags.def?rev=238236&r1=238235&r2=238236&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerFlags.def (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerFlags.def Tue May 26 14:32:52 2015
@@ -17,7 +17,7 @@ FUZZER_FLAG_INT(iterations, -1,
             " (-1 for infinite iterations).")
 FUZZER_FLAG_INT(runs, -1,
             "Number of individual test runs (-1 for infinite runs).")
-FUZZER_FLAG_INT(max_len, 64, "Maximal length of the test input.")
+FUZZER_FLAG_INT(max_len, 64, "Maximum length of the test input.")
 FUZZER_FLAG_INT(cross_over, 1, "If 1, cross over inputs.")
 FUZZER_FLAG_INT(mutate_depth, 5,
             "Apply this number of consecutive mutations to each input.")
@@ -57,4 +57,4 @@ FUZZER_FLAG_STRING(apply_tokens, "Read t
 FUZZER_FLAG_STRING(sync_command, "Execute an external command "
                                  "\"<sync_command> <test_corpus>\" "
                                  "to synchronize the test corpus.")
-FUZZER_FLAG_INT(sync_timeout, 600, "Minimal timeout between syncs.")
+FUZZER_FLAG_INT(sync_timeout, 600, "Minimum timeout between syncs.")





More information about the llvm-commits mailing list