From 2cb0b641c5525dd38c89c7c315bb7bc346030582 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Fri, 18 Sep 2015 10:47:45 +0000 Subject: [PATCH] [llvm-mc-fuzzer] Document llvm-mc-fuzzer in LibFuzzer.rst. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247979 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LibFuzzer.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/LibFuzzer.rst b/docs/LibFuzzer.rst index 97319bec002..8d4972296ed 100644 --- a/docs/LibFuzzer.rst +++ b/docs/LibFuzzer.rst @@ -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 -------- -- 2.34.1