Skip to content

Commit

Permalink
ossfuzz: add spng include dir to compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
concatime committed Dec 19, 2020
1 parent 4d02992 commit a0e3824
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ossfuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ ar x libz.a
ar rcs libspng_static.a *.o

$CXX $CXXFLAGS -std=c++11 \
-I$SRC/libspng/spng \
$SRC/libspng/tests/spng_read_fuzzer.c \
-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 \
-I$SRC/libspng/spng \
$SRC/libspng/tests/spng_read_fuzzer.c \
-DSPNGT_HAVE_FMEMOPEN=1 \
-o $OUT/spng_read_fuzzer_structure_aware \
Expand Down

0 comments on commit a0e3824

Please sign in to comment.