You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
fonts Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
graphs Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
sets Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
Makefile.am Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
hb-draw-fuzzer.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
hb-fuzzer.hh Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
hb-repacker-fuzzer.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
hb-set-fuzzer.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
hb-shape-fuzzer.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
hb-subset-fuzzer.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
main.cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
meson.build Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
run-draw-fuzzer-tests.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
run-repacker-fuzzer-tests.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
run-shape-fuzzer-tests.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
run-subset-fuzzer-tests.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

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: