mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
[libFuzzer] mention the AFL driver in the docs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269143 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32409ab4c5
commit
2ec40a608f
@ -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 corpus, one after another:
|
||||
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?
|
||||
----------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user