1libFuzzer instructions for libxml2
2==================================
3
4Set compiler and options:
5
6    export CC=clang
7    export CFLAGS="-g -fsanitize=fuzzer-no-link,address,undefined \
8        -fno-sanitize-recover=all \
9        -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
10
11Build libxml2 with instrumentation:
12
13    ./configure --without-python
14    make
15
16Run fuzzers:
17
18    make -C fuzz fuzz-xml
19
20