1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00
Files
libxml2/fuzz
Nick Wellnhofer 30d839776a fuzz: Disable catalogs
The catalogs API doesn't report OOM errors. It's basically impossible
to use it safely in its current form.
2024-01-04 15:18:14 +01:00
..
2023-12-21 02:46:27 +01:00
2023-12-11 22:05:47 +01:00
2024-01-04 15:18:14 +01:00
2021-03-01 20:56:40 +01:00
2023-12-11 22:13:06 +01:00
2020-06-05 13:53:11 +02:00
2023-12-11 22:13:05 +01:00
2020-07-31 11:55:13 +02:00
2024-01-04 15:18:14 +01:00
2020-06-23 16:20:27 +02:00
2023-12-11 22:05:47 +01:00
2021-03-01 20:56:40 +01:00
2024-01-04 15:18:14 +01:00
2023-03-12 19:47:07 +01:00
2024-01-04 15:18:14 +01:00
2024-01-04 15:18:14 +01:00
2024-01-04 15:18:14 +01:00
2020-08-06 14:12:32 +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