From: Michał Kępień Date: Tue, 1 Jul 2025 04:16:46 +0000 (+0200) Subject: Update documented build commands for fuzzers X-Git-Tag: v9.21.10~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb38223c27d2e053541b0480fcce27e9b3cfc6b9;p=thirdparty%2Fbind9.git Update documented build commands for fuzzers Due to the changing the build system to Meson, replace ./configure invocations with their Meson counterparts in fuzz/FUZZING.md. --- diff --git a/fuzz/FUZZING.md b/fuzz/FUZZING.md index 357b323b7de..d038d761226 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