Skip to content

Commit e59d26c

Browse files
committed
ossfuzz: add spng include dir to compiler flags
1 parent 3e673e9 commit e59d26c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ossfuzz.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ ar rcs libspng_static.a *.o
1919

2020
$CXX $CXXFLAGS -std=c++11 \
2121
$SRC/libspng/tests/spng_read_fuzzer.c \
22+
-I$SRC/libspng/spng \
2223
-DSPNGT_HAVE_FMEMOPEN=1 \
2324
-o $OUT/spng_read_fuzzer \
2425
$LIB_FUZZING_ENGINE $SRC/libspng/build/libspng_static.a $SRC/zlib/build/libz.a
2526

2627
$CXX $CXXFLAGS -std=c++11 -I$SRC/zlib/build -I$SRC/zlib \
2728
$SRC/libspng/tests/spng_read_fuzzer.c \
29+
-I$SRC/libspng/spng \
2830
-DSPNGT_HAVE_FMEMOPEN=1 \
2931
-o $OUT/spng_read_fuzzer_structure_aware \
3032
-include $SRC/fuzzer-test-suite/libpng-1.2.56/png_mutator.h \

0 commit comments

Comments
 (0)