VirtualBox

source: vbox/trunk/src/libs/libxml2-2.12.6/fuzz/README

Last change on this file was 104106, checked in by vboxsync, 2 months ago

libxml2-2.9.14: Applied and adjusted our libxml2 changes to 2.9.14. bugref:10640

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use