1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-21 22:50:08 +03:00

fuzz: Enable value profile

This commit is contained in:
Nick Wellnhofer 2023-12-10 19:13:26 +01:00
parent abd74186f9
commit 4e23892cf0

View File

@ -58,6 +58,7 @@ fuzz-xml: xml$(EXEEXT) seed/xml.stamp
-max_len=$(XML_MAX_LEN) \
-timeout=20 \
-rss_limit_mb=4096 \
-use_value_profile=1 \
corpus/xml seed/xml
# DTD validation fuzzer
@ -77,6 +78,7 @@ fuzz-valid: valid$(EXEEXT) seed/valid.stamp
-max_len=$(XML_MAX_LEN) \
-timeout=20 \
-rss_limit_mb=4096 \
-use_value_profile=1 \
corpus/valid seed/valid
# XInclude fuzzer
@ -98,6 +100,7 @@ fuzz-xinclude: xinclude$(EXEEXT) seed/xinclude.stamp
-max_len=$(XML_MAX_LEN) \
-timeout=20 \
-rss_limit_mb=4096 \
-use_value_profile=1 \
corpus/xinclude seed/xinclude
# HTML fuzzer
@ -117,6 +120,7 @@ fuzz-html: html$(EXEEXT) seed/html.stamp
-max_len=1000000 \
-timeout=10 \
-rss_limit_mb=4096 \
-use_value_profile=1 \
corpus/html seed/html
# Regexp fuzzer
@ -135,6 +139,7 @@ fuzz-regexp: regexp$(EXEEXT) seed/regexp.stamp
-dict=regexp.dict \
-max_len=200 \
-timeout=5 \
-use_value_profile=1 \
corpus/regexp seed/regexp
# URI fuzzer
@ -152,6 +157,7 @@ fuzz-uri: uri$(EXEEXT) seed/uri.stamp
./uri$(EXEEXT) \
-max_len=10000 \
-timeout=2 \
-use_value_profile=1 \
corpus/uri seed/uri
# XML Schema fuzzer
@ -171,6 +177,7 @@ fuzz-schema: schema$(EXEEXT) seed/schema.stamp
-max_len=$(XML_MAX_LEN) \
-timeout=20 \
-rss_limit_mb=4096 \
-use_value_profile=1 \
corpus/schema seed/schema
# XPath fuzzer
@ -190,5 +197,6 @@ fuzz-xpath: xpath$(EXEEXT) seed/xpath.stamp
-max_len=10000 \
-timeout=20 \
-rss_limit_mb=4096 \
-use_value_profile=1 \
corpus/xpath seed/xpath