[PATCH] D71423: [compiler-rt] libFuzzer: update -merge_control_file= help message.

Max Moroz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 09:00:10 PST 2019


Dor1s created this revision.
Dor1s added a reviewer: kcc.
Herald added subscribers: llvm-commits, Sanitizers, dberris.
Herald added projects: Sanitizers, LLVM.

The motivation for this change is to have a distinguisher in libFuzzer
that would let the runner know whether multistep merge is supported or not by
a particular fuzz target binary. Otherwise, multistep merge fails to execute
with older version of libFuzzer, and there is no way to verify that easily.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71423

Files:
  compiler-rt/lib/fuzzer/FuzzerFlags.def


Index: compiler-rt/lib/fuzzer/FuzzerFlags.def
===================================================================
--- compiler-rt/lib/fuzzer/FuzzerFlags.def
+++ compiler-rt/lib/fuzzer/FuzzerFlags.def
@@ -56,7 +56,8 @@
                    "Specify a control file used for the merge process. "
                    "If a merge process gets killed it tries to leave this file "
                    "in a state suitable for resuming the merge. "
-                   "By default a temporary file will be used.")
+                   "By default a temporary file will be used."
+                   "The same file can be used for multistep merge process.")
 FUZZER_FLAG_INT(minimize_crash, 0, "If 1, minimizes the provided"
   " crash input. Use with -runs=N or -max_total_time=N to limit "
   "the number attempts."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71423.233631.patch
Type: text/x-patch
Size: 808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191212/de246330/attachment.bin>


More information about the llvm-commits mailing list