mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
convert fuzz target to c89, optimize
This commit is contained in:
@ -8,8 +8,8 @@ cd build
|
||||
cmake -DBUILD_SHARED_LIBS=OFF -DENABLE_CJSON_TEST=OFF ..
|
||||
make -j$(nproc)
|
||||
|
||||
$CXX $CXXFLAGS -std=c++11 -I. \
|
||||
$SRC/cjson/fuzzing/cjson_read_fuzzer.cc \
|
||||
$CC $CFLAGS -std=c89 -I. \
|
||||
$SRC/cjson/fuzzing/cjson_read_fuzzer.c \
|
||||
-o $OUT/cjson_read_fuzzer \
|
||||
$LIB_FUZZING_ENGINE $SRC/cjson/build/libcjson.a
|
||||
|
||||
|
Reference in New Issue
Block a user