[llvm] r247979 - [llvm-mc-fuzzer] Document llvm-mc-fuzzer in LibFuzzer.rst.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 03:47:48 PDT 2015


Author: dsanders
Date: Fri Sep 18 05:47:45 2015
New Revision: 247979

URL: http://llvm.org/viewvc/llvm-project?rev=247979&view=rev
Log:
[llvm-mc-fuzzer] Document llvm-mc-fuzzer in LibFuzzer.rst.


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=247979&r1=247978&r2=247979&view=diff
==============================================================================
--- llvm/trunk/docs/LibFuzzer.rst (original)
+++ llvm/trunk/docs/LibFuzzer.rst Fri Sep 18 05:47:45 2015
@@ -350,6 +350,23 @@ llvm-as-fuzzer
 
 Tracking bug: https://llvm.org/bugs/show_bug.cgi?id=24639
 
+llvm-mc-fuzzer
+--------------
+
+This tool fuzzes the MC layer. Currently it is only able to fuzz the
+disassembler but it is hoped that assembly, and round-trip verification will be
+added in future.
+
+When run in dissassembly mode, the inputs are opcodes to be disassembled. The
+fuzzer will consume as many instructions as possible and will stop when it
+finds an invalid instruction or runs out of data.
+
+Please note that the command line interface differs from that of other fuzzers.
+The fuzzer arguments are specified with ``-fuzzer-args`` while other arguments
+control the operation mode and target in a similar manner to ``llvm-mc``.
+
+Unfortunately, this fuzzer is currently unable to use the -jobs option.
+
 Buildbot
 --------
 




More information about the llvm-commits mailing list