Skip to content

Commit

Permalink
json-c: Run fuzz test from upstream repo
Browse files Browse the repository at this point in the history
This commit removes the json-c fuzz test from the OSS-Fuzz repo in favor
of running the fuzz test that is maintained directly in the json-c
repository.
  • Loading branch information
simonresch committed Nov 20, 2024
1 parent fb21cac commit d7fa10a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 34 deletions.
6 changes: 3 additions & 3 deletions projects/json-c/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ cmake -DBUILD_SHARED_LIBS=OFF ..
make -j$(nproc)
cd ..

cp $SRC/*.dict $OUT/
cp fuzz/*.dict $OUT/

for f in $SRC/*_fuzzer.cc; do
for f in fuzz/*_fuzzer.cc; do
fuzzer=$(basename "$f" _fuzzer.cc)
$CXX $CXXFLAGS -std=c++11 -I$SRC/json-c -I$SRC/json-c/json-c-build\
$SRC/${fuzzer}_fuzzer.cc -o $OUT/${fuzzer}_fuzzer \
fuzz/${fuzzer}_fuzzer.cc -o $OUT/${fuzzer}_fuzzer \
$LIB_FUZZING_ENGINE $SRC/json-c/json-c-build/libjson-c.a
done
13 changes: 0 additions & 13 deletions projects/json-c/tokener_parse_ex_fuzzer.cc

This file was deleted.

18 changes: 0 additions & 18 deletions projects/json-c/tokener_parse_ex_fuzzer.dict

This file was deleted.

0 comments on commit d7fa10a

Please sign in to comment.