VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/fuzz/README@ 99286

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 
1libFuzzer instructions for libxml2
2==================================
3
4Set 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
11Build libxml2 with instrumentation:
12
13 ./configure --without-python
14 make
15
16Run fuzzers:
17
18 make -C fuzz fuzz-xml
19
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette