mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-12 09:17:37 +03:00
54c70ed57f
Introduce xmlCtxtSetErrorHandler allowing to set a structured error for a parser context. There already was the "serror" SAX handler but this always receives the parser context as argument. Start to use xmlRaiseMemoryError. Remove useless arguments from memory error functions. Rename xmlErrMemory to xmlCtxtErrMemory. Remove a few calls to xmlGenericError. Remove support for runtime entity debugging. |
||
---|---|---|
.. | ||
static_seed | ||
.gitignore | ||
fuzz.c | ||
fuzz.h | ||
genSeed.c | ||
html.c | ||
html.dict | ||
html.options | ||
Makefile.am | ||
README | ||
regexp.c | ||
regexp.dict | ||
regexp.options | ||
schema.c | ||
schema.dict | ||
schema.options | ||
testFuzzer.c | ||
uri.c | ||
uri.options | ||
valid.c | ||
valid.options | ||
xinclude.c | ||
xinclude.options | ||
xml.c | ||
xml.dict | ||
xml.options | ||
xpath.c | ||
xpath.dict | ||
xpath.options |
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