You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
Makefile.am v811_spc009_project 4 months ago
README v811_spc009_project 4 months ago
fuzz.c v811_spc009_project 4 months ago
fuzz.h v811_spc009_project 4 months ago
genSeed.c v811_spc009_project 4 months ago
html.c v811_spc009_project 4 months ago
html.dict v811_spc009_project 4 months ago
html.options v811_spc009_project 4 months ago
regexp.c v811_spc009_project 4 months ago
regexp.dict v811_spc009_project 4 months ago
regexp.options v811_spc009_project 4 months ago
schema.c v811_spc009_project 4 months ago
schema.dict v811_spc009_project 4 months ago
schema.options v811_spc009_project 4 months ago
testFuzzer.c v811_spc009_project 4 months ago
uri.c v811_spc009_project 4 months ago
uri.options v811_spc009_project 4 months ago
xml.c v811_spc009_project 4 months ago
xml.dict v811_spc009_project 4 months ago
xml.options v811_spc009_project 4 months ago
xpath.c v811_spc009_project 4 months ago
xpath.dict v811_spc009_project 4 months ago
xpath.options v811_spc009_project 4 months ago

README

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