[llvm] r268958 - [libFuzzer] better document the -merge=1 flag, part 2

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 12:23:28 PDT 2016


Author: kcc
Date: Mon May  9 14:23:28 2016
New Revision: 268958

URL: http://llvm.org/viewvc/llvm-project?rev=268958&view=rev
Log:
[libFuzzer] better document the -merge=1 flag, part 2 

Modified:
    llvm/trunk/docs/LibFuzzer.rst

Modified: llvm/trunk/docs/LibFuzzer.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LibFuzzer.rst?rev=268958&r1=268957&r2=268958&view=diff
==============================================================================
--- llvm/trunk/docs/LibFuzzer.rst (original)
+++ llvm/trunk/docs/LibFuzzer.rst Mon May  9 14:23:28 2016
@@ -81,6 +81,13 @@ is to use the `-merge=1` flag:
   mkdir NEW_CORPUS_DIR  # Store minimized corpus here.
   ./my-fuzzer -merge=1 NEW_CORPUS_DIR FULL_CORPUS_DIR
 
+You may use the same flag to add more interesting items to an existing corpus.
+Only the inputs that trigger new coverage will be added to the first corpus.
+
+.. code-block:: console
+
+  ./my-fuzzer -merge=1 CURRNT_CORPUS_DIR NEW_POTENTIALLY_INTERESTING_INPUTS_DIR
+
 Getting Started
 ===============
 




More information about the llvm-commits mailing list