diff options
author | vanhauser-thc <vh@thc.org> | 2023-04-12 10:53:23 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-04-12 10:53:23 +0200 |
commit | 743ae507756db0707a213cd8272b219b0de0f514 (patch) | |
tree | 125cecc79c148552844723e95ddd246bf918d6fc /utils/aflpp_driver/aflpp_driver.c | |
parent | a5a122a533cbef1b3628d0519f9fad693e0c5ad3 (diff) | |
download | afl++-743ae507756db0707a213cd8272b219b0de0f514.tar.gz |
nits
Diffstat (limited to 'utils/aflpp_driver/aflpp_driver.c')
-rw-r--r-- | utils/aflpp_driver/aflpp_driver.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/aflpp_driver/aflpp_driver.c b/utils/aflpp_driver/aflpp_driver.c index 5fef4730..ec304c8c 100644 --- a/utils/aflpp_driver/aflpp_driver.c +++ b/utils/aflpp_driver/aflpp_driver.c @@ -1,8 +1,10 @@ // -// afl_driver.cpp - a glue between AFL++ and libFuzzer +// afl_driver.cpp - a glue between AFL++ and LLVMFuzzerTestOneInput harnesses // -/* This file allows to fuzz libFuzzer-style target functions +/* + + This file allows to fuzz libFuzzer-style target functions (LLVMFuzzerTestOneInput) with AFL++ using persistent in-memory fuzzing. Usage: @@ -26,7 +28,7 @@ EOF # Build your target with afl-cc -fsanitize=fuzzer $ afl-c++ -fsanitize=fuzzer -o test_fuzzer test_fuzzer.cc # Run AFL: -$ rm -rf in out; mkdir in out; echo z > in/foo; +$ mkdir -p in ; echo z > in/foo; $ afl-fuzz -i in -o out -- ./test_fuzzer */ |