[llvm] r269143 - [libFuzzer] mention the AFL driver in the docs
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Tue May 10 16:52:47 PDT 2016
Author: kcc
Date: Tue May 10 18:52:47 2016
New Revision: 269143
URL: http://llvm.org/viewvc/llvm-project?rev=269143&view=rev
Log:
[libFuzzer] mention the AFL driver in the docs
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=269143&r1=269142&r2=269143&view=diff
==============================================================================
--- llvm/trunk/docs/LibFuzzer.rst (original)
+++ llvm/trunk/docs/LibFuzzer.rst Tue May 10 18:52:47 2016
@@ -367,7 +367,7 @@ Toy example
A simple function that does something interesting if it receives the input
"HI!"::
- cat << EOF >> test_fuzzer.cc
+ cat << EOF > test_fuzzer.cc
#include <stdint.h>
#include <stddef.h>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
@@ -614,6 +614,9 @@ You can run both fuzzers on the same cor
Periodically restart both fuzzers so that they can use each other's findings.
Currently, there is no simple way to run both fuzzing engines in parallel while sharing the same corpus dir.
+You may also use AFL on your target function ``LLVMFuzzerTestOneInput``:
+see an example `here <https://github.com/llvm-mirror/llvm/blob/master/lib/Fuzzer/afl/afl_driver.cpp>`__.
+
How good is my fuzzer?
----------------------
More information about the llvm-commits
mailing list