From d15e8fbbe50db600eedc688335e407a7b744bd3d Mon Sep 17 00:00:00 2001 From: "Issam E. Maghni" Date: Sat, 19 Dec 2020 13:27:53 -0500 Subject: [PATCH] ossfuzz: add spng include dir to compiler flags --- tests/ossfuzz.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ossfuzz.sh b/tests/ossfuzz.sh index ce8eaf36..1249cc19 100755 --- a/tests/ossfuzz.sh +++ b/tests/ossfuzz.sh @@ -19,12 +19,14 @@ ar rcs libspng_static.a *.o $CXX $CXXFLAGS -std=c++11 \ $SRC/libspng/tests/spng_read_fuzzer.c \ + -I$SRC/libspng/spng \ -DSPNGT_HAVE_FMEMOPEN=1 \ -o $OUT/spng_read_fuzzer \ $LIB_FUZZING_ENGINE $SRC/libspng/build/libspng_static.a $SRC/zlib/build/libz.a $CXX $CXXFLAGS -std=c++11 -I$SRC/zlib/build -I$SRC/zlib \ $SRC/libspng/tests/spng_read_fuzzer.c \ + -I$SRC/libspng/spng \ -DSPNGT_HAVE_FMEMOPEN=1 \ -o $OUT/spng_read_fuzzer_structure_aware \ -include $SRC/fuzzer-test-suite/libpng-1.2.56/png_mutator.h \