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
396 B
Plaintext
20 lines
396 B
Plaintext
libFuzzer instructions for libxml2
|
|
==================================
|
|
|
|
Set compiler and options:
|
|
|
|
export CC=clang
|
|
export CFLAGS="-g -fsanitize=fuzzer-no-link,address,undefined \
|
|
-fno-sanitize-recover=all \
|
|
-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
|
|
|
|
Build libxml2 with instrumentation:
|
|
|
|
./configure --without-python
|
|
make
|
|
|
|
Run fuzzers:
|
|
|
|
make -C fuzz fuzz-xml
|
|
|