Skip to content

Commit

Permalink
jq: add new fuzzer from upstream (#11333)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKorczynski authored Dec 7, 2023
1 parent 02416bd commit 9731dd1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projects/jq/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/ \;
Expand Down

0 comments on commit 9731dd1

Please sign in to comment.