1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00
Files
libxml2/fuzz
Nick Wellnhofer 804c52978f Stop using maxParserDepth in xpath.c
Only use a single maxDepth value.
2020-08-17 03:39:51 +02:00
..
2020-06-05 13:53:11 +02:00
2020-08-06 14:12:32 +02:00
2020-08-06 14:12:32 +02:00
2020-08-06 14:12:32 +02:00
2020-06-15 15:23:38 +02:00
2020-07-31 11:55:13 +02:00
2020-07-31 11:55:13 +02:00
2020-08-17 02:54:28 +02:00
2020-06-05 13:53:11 +02:00
2020-07-31 11:55:13 +02:00
2020-07-31 11:55:13 +02:00
2020-07-31 11:55:13 +02:00
2020-06-23 16:20:27 +02:00
2020-06-23 16:20:27 +02:00
2020-07-31 11:55:13 +02:00
2020-06-23 16:20:27 +02:00
2020-06-05 13:53:11 +02:00
2020-06-05 13:53:11 +02:00
2020-07-31 11:55:13 +02:00
2020-08-08 14:32:44 +02:00
2020-06-05 13:53:11 +02:00
2020-07-31 11:55:13 +02:00
2020-08-08 14:32:44 +02:00
2020-08-17 03:39:51 +02:00
2020-08-06 14:12:32 +02:00
2020-08-06 14:12:32 +02:00
2020-08-08 17:46:11 +02:00

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