mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-04 05:17:37 +03:00
0d9da0290c
Run fuzz targets with files in seed corpus during test. |
||
---|---|---|
.. | ||
seed | ||
.gitignore | ||
fuzz.c | ||
fuzz.h | ||
html.c | ||
html.dict | ||
html.options | ||
htmlSeed.c | ||
Makefile.am | ||
README | ||
regexp.c | ||
regexp.dict | ||
regexp.options | ||
schema.c | ||
schema.dict | ||
schema.options | ||
schemaSeed.c | ||
testFuzzer.c | ||
uri.c | ||
uri.options | ||
xml.c | ||
xml.dict | ||
xml.options | ||
xmlSeed.c | ||
xpath.c | ||
xpath.dict | ||
xpath.options | ||
xpathSeed.c |
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