mirror of https://github.com/google/oss-fuzz.git
jq: add new fuzzer from upstream (#11333)
Ref: https://github.com/jqlang/jq/pull/2965
This commit is contained in:
parent
02416bda4c
commit
9731dd19a9
|
@ -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/ \;
|
||||
|
|
Loading…
Reference in New Issue