Add dictionary for jsoncpp.

This commit is contained in:
Abhishek Arya 2019-10-11 09:05:09 -07:00 committed by GitHub
parent af319543ed
commit 40973c57ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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