From 98b3314278f581f4ab9b3a5170341bdd7aea3719 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 4 May 2023 20:35:39 +1000 Subject: README: use meson compile/test over ninja This is backend-agnostic and the recommended way to invoke compilation. This requires meson 0.55 (July 2020) and we only require 0.51 but at this point I'm expecting most users who require the README instructions will have a recent-enough meson anyway. --- fuzz/fuzz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fuzz') diff --git a/fuzz/fuzz.sh b/fuzz/fuzz.sh index 65aab9c..1dc1476 100755 --- a/fuzz/fuzz.sh +++ b/fuzz/fuzz.sh @@ -13,5 +13,5 @@ esac export CC=afl-clang-fast export AFL_HARDEN=1 test -d fuzz/build || meson setup -Db_lto=true fuzz/build -ninja -C fuzz/build +meson compile -C fuzz/build afl-fuzz -i fuzz/$1/testcases -x fuzz/$1/dict -o fuzz/$1/findings -t 200 -m 10 -- ./fuzz/build/fuzz-$1 @@ -- cgit v1.2.1