You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matt Knight 9627d4196c Rearchitect Regz (#63) 7 months ago
..
.gitignore Rearchitect Regz (#63) 7 months ago
Makefile.am Rearchitect Regz (#63) 7 months ago
README Rearchitect Regz (#63) 7 months ago
fuzz.c Rearchitect Regz (#63) 7 months ago
fuzz.h Rearchitect Regz (#63) 7 months ago
genSeed.c Rearchitect Regz (#63) 7 months ago
html.c Rearchitect Regz (#63) 7 months ago
html.dict Rearchitect Regz (#63) 7 months ago
html.options Rearchitect Regz (#63) 7 months ago
regexp.c Rearchitect Regz (#63) 7 months ago
regexp.dict Rearchitect Regz (#63) 7 months ago
regexp.options Rearchitect Regz (#63) 7 months ago
schema.c Rearchitect Regz (#63) 7 months ago
schema.dict Rearchitect Regz (#63) 7 months ago
schema.options Rearchitect Regz (#63) 7 months ago
testFuzzer.c Rearchitect Regz (#63) 7 months ago
uri.c Rearchitect Regz (#63) 7 months ago
uri.options Rearchitect Regz (#63) 7 months ago
xml.c Rearchitect Regz (#63) 7 months ago
xml.dict Rearchitect Regz (#63) 7 months ago
xml.options Rearchitect Regz (#63) 7 months ago
xpath.c Rearchitect Regz (#63) 7 months ago
xpath.dict Rearchitect Regz (#63) 7 months ago
xpath.options Rearchitect Regz (#63) 7 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