From 40973c57cade630112781e8bea3308eb76a8ea11 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Fri, 11 Oct 2019 09:05:09 -0700 Subject: [PATCH] Add dictionary for jsoncpp. --- projects/jsoncpp/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/jsoncpp/build.sh b/projects/jsoncpp/build.sh index d2346bde6..8bb8f00ea 100644 --- a/projects/jsoncpp/build.sh +++ b/projects/jsoncpp/build.sh @@ -21,6 +21,10 @@ cmake -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DBUILD_SHARED_LIBS=OFF -G "Unix Makefiles" .. make +# Compile fuzzer. $CXX $CXXFLAGS -I../include $LIB_FUZZING_ENGINE \ ../src/test_lib_json/fuzz.cpp -o $OUT/jsoncpp_fuzzer \ src/lib_json/libjsoncpp.a + +# Add dictionary. +cp $SRC/jsoncpp/src/test_lib_json/fuzz.dict $OUT/jsoncpp_fuzzer.dict