[harfbuzz] Setup a new target, hb-draw-fuzzer. (#3425)

This commit is contained in:
Ebrahim Byagowi 2020-02-26 17:58:08 +03:30 committed by GitHub
parent 43050a47ee
commit 7e4bf8831c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,10 @@ $CXX $CXXFLAGS -std=c++11 -Isrc \
./test/fuzzing/hb-shape-fuzzer.cc -o $OUT/hb-shape-fuzzer \
$LIB_FUZZING_ENGINE ./src/.libs/libharfbuzz.a
$CXX $CXXFLAGS -std=c++11 -Isrc \
./test/fuzzing/hb-draw-fuzzer.cc -o $OUT/hb-draw-fuzzer \
$LIB_FUZZING_ENGINE ./src/.libs/libharfbuzz.a
$CXX $CXXFLAGS -std=c++11 -Isrc \
./test/fuzzing/hb-subset-fuzzer.cc -o $OUT/hb-subset-fuzzer \
$LIB_FUZZING_ENGINE ./src/.libs/libharfbuzz-subset.a ./src/.libs/libharfbuzz.a
@ -52,5 +56,6 @@ for d in \
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/*

View File

@ -0,0 +1,2 @@
[libfuzzer]
timeout = 5