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.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| .gitignore | 3 years ago | |
| Makefile.am | 3 years ago | |
| README | 3 years ago | |
| fuzz.c | 3 years ago | |
| fuzz.h | 3 years ago | |
| genSeed.c | 3 years ago | |
| html.c | 3 years ago | |
| html.dict | 3 years ago | |
| html.options | 3 years ago | |
| regexp.c | 3 years ago | |
| regexp.dict | 3 years ago | |
| regexp.options | 3 years ago | |
| schema.c | 3 years ago | |
| schema.dict | 3 years ago | |
| schema.options | 3 years ago | |
| testFuzzer.c | 3 years ago | |
| uri.c | 3 years ago | |
| uri.options | 3 years ago | |
| xml.c | 3 years ago | |
| xml.dict | 3 years ago | |
| xml.options | 3 years ago | |
| xpath.c | 3 years ago | |
| xpath.dict | 3 years ago | |
| xpath.options | 3 years 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