mirror of https://github.com/google/oss-fuzz.git
[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:
parent
adc5fcd502
commit
e3c5b941da
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue