diff options
author | Kostya Serebryany <kcc@google.com> | 2016-05-09 19:23:28 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-05-09 19:23:28 +0000 |
commit | 0a6c26e4dc177b30db16cdcdbee43241e605ee48 (patch) | |
tree | f5370b1be99acf1107b60bd6886ed50d08ceefeb | |
parent | 61b07ac75b4c19d7053516cdfb86ad617e8ed7c6 (diff) | |
download | bcm5719-llvm-0a6c26e4dc177b30db16cdcdbee43241e605ee48.tar.gz bcm5719-llvm-0a6c26e4dc177b30db16cdcdbee43241e605ee48.zip |
[libFuzzer] better document the -merge=1 flag, part 2
llvm-svn: 268958
-rw-r--r-- | llvm/docs/LibFuzzer.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/docs/LibFuzzer.rst b/llvm/docs/LibFuzzer.rst index d7947eba6ad..e2f6d943b0d 100644 --- a/llvm/docs/LibFuzzer.rst +++ b/llvm/docs/LibFuzzer.rst @@ -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 =============== |