ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
20 lines
556 B
Plaintext
20 lines
556 B
Plaintext
libFuzzer based fuzzing for cairo-svg-glyph-render.c
|
|
====================================================
|
|
|
|
Build
|
|
-----
|
|
CC=clang CFLAGS="-DDEBUG_SVG_RENDER -g -fsanitize=fuzzer-no-link,address" meson -Db_lundef=false bld-fuzzer
|
|
ninja -C bld-fuzzer
|
|
|
|
|
|
Test
|
|
----
|
|
./bld-fuzzer/test/svg/fuzzer/svg-render-fuzzer <CORPUS DIR>
|
|
|
|
where <CORPUS DIR> is a directory containing SVG files.
|
|
|
|
If the fuzzer crashes, a crash-* file will be written. Run the
|
|
fuzzer with the crash file to reproduce the crash.
|
|
|
|
./bld-fuzzer/test/svg/fuzzer/svg-render-fuzzer <crash-file>
|