summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2023-05-04 20:35:39 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2023-05-05 09:44:56 +1000
commit98b3314278f581f4ab9b3a5170341bdd7aea3719 (patch)
treead74b93803431ea1a2f19aee2afefc3b1ecfb56b /fuzz
parent536cf42704cc15b377a25a7fb101a48631c3700f (diff)
downloadxorg-lib-libxkbcommon-98b3314278f581f4ab9b3a5170341bdd7aea3719.tar.gz
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.
Diffstat (limited to 'fuzz')
-rwxr-xr-xfuzz/fuzz.sh2
1 files changed, 1 insertions, 1 deletions
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 @@