Last change
on this file since 99286 was 95312, checked in by vboxsync, 3 years ago |
libs/{curl,libxml2}: OSE export fixes, bugref:8515
|
File size:
396 bytes
|
Line | |
---|
1 | libFuzzer instructions for libxml2
|
---|
2 | ==================================
|
---|
3 |
|
---|
4 | Set 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 |
|
---|
11 | Build libxml2 with instrumentation:
|
---|
12 |
|
---|
13 | ./configure --without-python
|
---|
14 | make
|
---|
15 |
|
---|
16 | Run fuzzers:
|
---|
17 |
|
---|
18 | make -C fuzz fuzz-xml
|
---|
19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.