Skip to content

Commit bc831da

Browse files
authored
libplist: Add JSON fuzzer (#7182)
1 parent 3403ecc commit bc831da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/libplist/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@
2020
make -j$(nproc) clean
2121
make -j$(nproc) all
2222

23-
for fuzzer in bplist_fuzzer xplist_fuzzer; do
23+
for fuzzer in bplist_fuzzer xplist_fuzzer jplist_fuzzer; do
2424
$CXX $CXXFLAGS -std=c++11 -Iinclude/ \
2525
fuzz/$fuzzer.cc -o $OUT/$fuzzer \
2626
$LIB_FUZZING_ENGINE src/.libs/libplist-2.0.a
2727
done
2828

2929
zip -j $OUT/bplist_fuzzer_seed_corpus.zip test/data/*.bplist
3030
zip -j $OUT/xplist_fuzzer_seed_corpus.zip test/data/*.plist
31+
zip -j $OUT/jplist_fuzzer_seed_corpus.zip test/data/*.json
3132

3233
cp fuzz/*.dict fuzz/*.options $OUT/

0 commit comments

Comments
 (0)