sfxsfl 81bd2e02f4 first code checkin 9 mesi fa
..
fonts 81bd2e02f4 first code checkin 9 mesi fa
graphs 81bd2e02f4 first code checkin 9 mesi fa
sets 81bd2e02f4 first code checkin 9 mesi fa
Makefile.am 81bd2e02f4 first code checkin 9 mesi fa
README.md 81bd2e02f4 first code checkin 9 mesi fa
hb-draw-fuzzer.cc 81bd2e02f4 first code checkin 9 mesi fa
hb-fuzzer.hh 81bd2e02f4 first code checkin 9 mesi fa
hb-repacker-fuzzer.cc 81bd2e02f4 first code checkin 9 mesi fa
hb-set-fuzzer.cc 81bd2e02f4 first code checkin 9 mesi fa
hb-shape-fuzzer.cc 81bd2e02f4 first code checkin 9 mesi fa
hb-subset-fuzzer.cc 81bd2e02f4 first code checkin 9 mesi fa
main.cc 81bd2e02f4 first code checkin 9 mesi fa
meson.build 81bd2e02f4 first code checkin 9 mesi fa
run-draw-fuzzer-tests.py 81bd2e02f4 first code checkin 9 mesi fa
run-repacker-fuzzer-tests.py 81bd2e02f4 first code checkin 9 mesi fa
run-shape-fuzzer-tests.py 81bd2e02f4 first code checkin 9 mesi fa
run-subset-fuzzer-tests.py 81bd2e02f4 first code checkin 9 mesi fa

README.md

To build the fuzzers with libFuzzer to perform actual fuzzing, build with:

CXX=clang++ CXXFLAGS="-fsanitize=address,fuzzer-no-link" meson fuzzbuild --default-library=static -Dfuzzer_ldflags="-fsanitize=address,fuzzer"

ninja -Cfuzzbuild

Then, run the fuzzer like this:

fuzzbuild/test/fuzzing/hb-{shape,draw,subset,set}-fuzzer [-max_len=2048] [CORPUS_DIR]

Where max_len specifies the maximal length of font files to handle. The smaller the faster.

For more details consult the following locations: