diff --git a/projects/harfbuzz/build.sh b/projects/harfbuzz/build.sh index c43b25312..20e59af00 100755 --- a/projects/harfbuzz/build.sh +++ b/projects/harfbuzz/build.sh @@ -35,8 +35,8 @@ meson --default-library=static --wrap-mode=nodownload \ || (cat build/meson-logs/meson-log.txt && false) # Build the fuzzers. -ninja -v -j$(nproc) -C $build test/fuzzing/hb-{shape,draw,subset,set}-fuzzer -mv $build/test/fuzzing/hb-{shape,draw,subset,set}-fuzzer $OUT/ +ninja -v -j$(nproc) -C $build test/fuzzing/hb-{shape,draw,repacker,subset,set}-fuzzer +mv $build/test/fuzzing/hb-{shape,draw,repacker,subset,set}-fuzzer $OUT/ # Archive and copy to $OUT seed corpus if the build succeeded. mkdir all-fonts @@ -50,7 +50,10 @@ for d in \ ; do cp $d/* all-fonts/ done + zip $OUT/hb-shape-fuzzer_seed_corpus.zip all-fonts/* cp $OUT/hb-shape-fuzzer_seed_corpus.zip $OUT/hb-draw-fuzzer_seed_corpus.zip cp $OUT/hb-shape-fuzzer_seed_corpus.zip $OUT/hb-subset-fuzzer_seed_corpus.zip zip $OUT/hb-set-fuzzer_seed_corpus.zip ./test/fuzzing/sets/* +zip $OUT/hb-repacker-fuzzer_seed_corpus.zip ./test/fuzzing/graphs/* + diff --git a/projects/harfbuzz/hb-repacker-fuzzer.options b/projects/harfbuzz/hb-repacker-fuzzer.options new file mode 100644 index 000000000..ea2a7a237 --- /dev/null +++ b/projects/harfbuzz/hb-repacker-fuzzer.options @@ -0,0 +1,2 @@ +[libfuzzer] +timeout = 5