mirror of https://github.com/google/oss-fuzz.git
Add new fuzzer, hb-repacker-fuzzer, to harfbuzz. (#9129)
This commit is contained in:
parent
87a914acc8
commit
9850414e6e
|
@ -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/*
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[libfuzzer]
|
||||
timeout = 5
|
Loading…
Reference in New Issue