diff --git a/fuzz/FUZZING.md b/fuzz/FUZZING.md index 357b323b7d..d038d76122 100644 --- a/fuzz/FUZZING.md +++ b/fuzz/FUZZING.md @@ -18,10 +18,10 @@ The tests in this directory can be operated in three modes: * non-fuzzing - the test just runs over all input located in `.in/` directory by compiling with mock main.c that walks through the directory and runs `LLVMFuzzerTestOneInput()` over the input files -* AFL - `./configure --enable-fuzzing=afl` will either feed the stdin to +* AFL - `meson setup -Dfuzzing=afl` will either feed the stdin to `LLVMFuzzerTestOneInput()` or run the `__AFL_LOOP(10000)` if compiled with `afl-clang-fast`. You have to compile using `CC=afl-`. -* LibFuzzer - `./configure --enable-fuzzing=libfuzzer` will disable `main.c` +* LibFuzzer - `meson setup -Dfuzzing=libfuzzer` will disable `main.c` completely and it uses the standard LibFuzzer mechanims to feed `LLVMFuzzerTestOneInput` with the fuzzer