[libxml2] Two new fuzz targets (#4022)

* [libxml2] Two new fuzz targets

Enable HTML and XML Schema fuzzers.

* [libxml2] Compile missing source files

* [libxml2] Don't forget to build seed corpora
This commit is contained in:
Nick Wellnhofer 2020-06-24 22:01:23 +02:00 committed by GitHub
parent adc5fcd502
commit e3c5b941da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -28,9 +28,11 @@ fi
--without-legacy \
--without-python
make -j$(nproc) V=1
make -C fuzz V=1 seed/xml.stamp fuzz.o xml.o
make -C fuzz V=1 seed/schema.stamp seed/xml.stamp fuzz.o
cp -r test/HTML fuzz/seed/html
for fuzzer in xml; do
for fuzzer in html schema xml; do
make -C fuzz $fuzzer.o
# Link with $CXX
$CXX $CXXFLAGS \
fuzz/$fuzzer.o fuzz/fuzz.o \