• Home
Name Date Size #Lines LOC

..--

fonts/03-May-2024-32

graphs/03-May-2024-

sets/03-May-2024-10

Makefile.amD03-May-20242.2 KiB8771

README.mdD03-May-2024555 1811

hb-draw-fuzzer.ccD03-May-20245.8 KiB175147

hb-fuzzer.hhD03-May-2024693 3520

hb-repacker-fuzzer.ccD03-May-20243.6 KiB146103

hb-set-fuzzer.ccD03-May-20242 KiB9168

hb-shape-fuzzer.ccD03-May-20242.1 KiB6551

hb-subset-fuzzer.ccD03-May-20242.2 KiB8764

main.ccD03-May-2024459 2317

meson.buildD03-May-20242.2 KiB8876

run-draw-fuzzer-tests.pyD03-May-20241.8 KiB6745

run-repacker-fuzzer-tests.pyD03-May-20241.9 KiB6947

run-shape-fuzzer-tests.pyD03-May-20241.8 KiB6644

run-subset-fuzzer-tests.pyD03-May-20242.1 KiB7349

README.md

1To build the fuzzers with libFuzzer to perform actual fuzzing, build with:
2
3```shell
4CXX=clang++ CXXFLAGS="-fsanitize=address,fuzzer-no-link" meson fuzzbuild --default-library=static -Dfuzzer_ldflags="-fsanitize=address,fuzzer"
5
6ninja -Cfuzzbuild
7```
8
9Then, run the fuzzer like this:
10
11fuzzbuild/test/fuzzing/hb-{shape,draw,subset,set}-fuzzer [-max_len=2048] [CORPUS_DIR]
12
13Where max_len specifies the maximal length of font files to handle.
14The smaller the faster.
15
16For more details consult the following locations:
17  - http://llvm.org/docs/LibFuzzer.html
18