From 9731dd19a9ef7bffff0332b465c78cd069bad5a9 Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Thu, 7 Dec 2023 12:31:56 +0000 Subject: [PATCH] jq: add new fuzzer from upstream (#11333) Ref: https://github.com/jqlang/jq/pull/2965 --- projects/jq/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/jq/build.sh b/projects/jq/build.sh index b3540e8eb..a6476a196 100644 --- a/projects/jq/build.sh +++ b/projects/jq/build.sh @@ -57,6 +57,12 @@ $CXX $CXXFLAGS $LIB_FUZZING_ENGINE ./tests/jq_fuzz_execute.cpp \ ./.libs/libjq.a ./modules/oniguruma/src/.libs/libonig.a \ -o $OUT/jq_fuzz_execute -I./src +$CXX $CXXFLAGS $LIB_FUZZING_ENGINE ./tests/jq_fuzz_fixed.cpp \ + -I./src \ + ./.libs/libjq.a ./modules/oniguruma/src/.libs/libonig.a \ + -o $OUT/jq_fuzz_fixed -I./src + + # Build corpus mkdir $SRC/seeds find . -name "*.jq" -exec cp {} $SRC/seeds/ \;