From fb38223c27d2e053541b0480fcce27e9b3cfc6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Tue, 1 Jul 2025 06:16:46 +0200 Subject: [PATCH] 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. --- fuzz/FUZZING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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