diff options
author | 2016-12-12 11:39:59 -0800 | |
---|---|---|
committer | 2016-12-12 11:39:59 -0800 | |
commit | c70d95f68cd8bcb75bb1a675d0e5d0b614c298e8 (patch) | |
tree | bfb2dcae69eb7e3a071e8aa136393a34b57db949 /projects/harfbuzz/build.sh | |
parent | 20c48c6e08f26b5dd16d964e8a4cf9b8607d4e17 (diff) |
Add seed corpus for harfbuzz (#173)
* Add seed corpus from harfbuzz repo.
Diffstat (limited to 'projects/harfbuzz/build.sh')
-rwxr-xr-x | projects/harfbuzz/build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/harfbuzz/build.sh b/projects/harfbuzz/build.sh index 854bd3af..f8ca0e38 100755 --- a/projects/harfbuzz/build.sh +++ b/projects/harfbuzz/build.sh @@ -22,7 +22,11 @@ make clean make -j$(nproc) V=1 all make -C src V=1 fuzzing +# Build the fuzzer. $CXX $CXXFLAGS -std=c++11 -Isrc \ ./test/fuzzing/hb-fuzzer.cc -o $OUT/hb-fuzzer \ -lFuzzingEngine ./src/.libs/libharfbuzz-fuzzing.a +# Archive and copy to $OUT seed corpus if the build succeeded. +zip -j -r $OUT/hb-fuzzer_seed_corpus.zip $SRC/harfbuzz/test/shaping/fonts + |