Closed frokaikan closed 1 year ago
Hi, the doxygen tool is still experimental and currently only supports C++ libraries.
Glancing over the freetype2 API surface, it does look like you can use GraphFuzz to fuzz it but you will need to create the schema.yaml
yourself.
As a reference, I would recommend looking at the sqlite3 schema.yaml for an example of how to harness a C library: https://github.com/hgarrereyn/GraphFuzz/blob/master/experiments/sqlite3/in/f1/schema.yaml
I'm excited to see what you will be able to do! Please let me know if you have questions about this process or get stuck, I'd be happy to help you get started with appling GraphFuzz to freetype2.
Hi, thanks for producing the great work! I'm trying to generate fuzz harness for
freetype2
. I first build freetype on<freetype-dir>/asan_build
withAddressSanitizer
, then rungraphfuzz
in<freetype-dir>/gfuzz_dir
withThe
input
argument is..
. But theoutput/fuzz_exec.cpp
does not contain any function call operation... such asFT_Init_FreeType
orFT_New_Face
. Here is thefuzz_exec.cpp
. (GitHub does not allow upgrade file with .cpp postfix, so I rename it with fuzz_exec.txt) Thanks a lot! fuzz_exec.txt