Files
chencheng31 98285566ad 升级libxml2 到 2.9.12版本
Signed-off-by: chencheng31 <chencheng8@huawei.com>
2022-04-18 15:50:32 +08:00
..
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08:00
2022-04-18 15:50:32 +08: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