summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2018-01-18 18:05:09 +0100
committerDavid Tardon <dtardon@redhat.com>2018-01-18 18:05:09 +0100
commit30a0e048c4bc7cb81b308e00f823ad5513adb3a9 (patch)
tree30ea4ab17d580f1f2fd947c66be65c05fed6d2b7
parentefb38995c8467214f6ee6424aab182bc8c4f15ed (diff)
move dict from oss-fuzz
Change-Id: I95ad30e3b82d4ea4dbce5632e20b5b85bac7630d
-rw-r--r--src/fuzz/abw.dict195
1 files changed, 195 insertions, 0 deletions
diff --git a/src/fuzz/abw.dict b/src/fuzz/abw.dict
new file mode 100644
index 0000000..62f5dca
--- /dev/null
+++ b/src/fuzz/abw.dict
@@ -0,0 +1,195 @@
+#
+# AFL dictionary for XML
+# ----------------------
+#
+# Several basic syntax elements and attributes, modeled on libxml2.
+#
+# Created by Michal Zalewski <lcamtuf@google.com>
+#
+
+attr_encoding=" encoding=\"1\""
+attr_generic=" a=\"1\""
+attr_href=" href=\"1\""
+attr_standalone=" standalone=\"no\""
+attr_version=" version=\"1\""
+attr_xml_base=" xml:base=\"1\""
+attr_xml_id=" xml:id=\"1\""
+attr_xml_lang=" xml:lang=\"1\""
+attr_xml_space=" xml:space=\"1\""
+attr_xmlns=" xmlns=\"1\""
+
+entity_builtin="&lt;"
+entity_decimal="&#1;"
+entity_external="&a;"
+entity_hex="&#x1;"
+
+# keywords
+"ANY"
+"ATTLIST"
+"CDATA"
+"DOCTYPE"
+"ELEMENT"
+"EMPTY"
+"ENTITIES"
+"ENTITY"
+"FIXED"
+"ID"
+"IDREF"
+"IDREFS"
+"IGNORE"
+"IMPLIED"
+"INCLUDE"
+"NDATA"
+"NMTOKEN"
+"NMTOKENS"
+"NOTATION"
+"PCDATA"
+"PUBLIC"
+"REQUIRED"
+"SYSTEM"
+
+# Various tag parts
+"<"
+">"
+"/>"
+"</"
+"<?"
+"?>"
+"<!"
+"!>"
+"[]"
+"]]"
+"<![CDATA["
+"<![CDATA[]]>"
+"\"\""
+"''"
+"=\"\""
+"=''"
+
+# DTD
+"<!ATTLIST"
+"<!DOCTYPE"
+"<!ELEMENT"
+"<!ENTITY"
+"<![IGNORE["
+"<![INCLUDE["
+"<!NOTATION"
+"#CDATA"
+"#FIXED"
+"#IMPLIED"
+"#PCDATA"
+"#REQUIRED"
+
+# Encodings
+"ISO-8859-1"
+"US-ASCII"
+"UTF-8"
+"UTF-16"
+"UTF-16BE"
+"UTF-16LE"
+
+# Namespaces and schemas
+"xmlns"
+"xmlns:"
+"xmlns:xhtml=\"http://www.w3.org/1999/xhtml\""
+"xmlns:xml=\"http://www.w3.org/XML/1998/namespace\""
+"xmlns:xmlns=\"http://www.w3.org/2000/xmlns\""
+"xmlns:awml=\"http://www.abisource.com/awml.dtd\""
+
+string_col_fallback=":fallback"
+string_col_generic=":a"
+string_col_include=":include"
+string_dashes="--"
+string_parentheses="()"
+string_percent="%a"
+string_schema=":schema"
+string_ucs4="UCS-4"
+tag_close="</a>"
+tag_open="<a>"
+tag_open_close="<a />"
+
+# Tag names
+"a"
+"abiword"
+"awml"
+"bookmark"
+"br"
+"c"
+"cbr"
+"cell"
+"d"
+"data"
+"endnote"
+"f"
+"field"
+"foot"
+"frame"
+"history"
+"i"
+"ignoredwords"
+"image"
+"iw"
+"l"
+"lists"
+"m"
+"metadata"
+"p"
+"pagesize"
+"pbr"
+"revisions"
+"s"
+"section"
+"styles"
+"table"
+"version"
+
+# Document properties
+"document-endnote-initial"
+"document-endnote-place-enddoc"
+"document-endnote-place-endsection"
+"document-endnote-restart-section"
+"document-endnote-type"
+"document-footnote-initial"
+"document-footnote-restart-page"
+"document-footnote-restart-section"
+"document-footnote-type"
+"dom-dir"
+"lang"
+"ltr"
+"numeric"
+"rtl"
+
+# Para style properties
+"ascent"
+"descent"
+"display"
+"height"
+"homogeneous"
+"inline"
+"list-style"
+"width"
+
+# Text style properties
+"bgcolor"
+"color"
+"font-family"
+"font-size"
+"font-stretch"
+"font-style"
+"font-variant"
+"font-weight"
+"left"
+"line-height"
+"margin-bottom"
+"margin-left"
+"margin-right"
+"margin-top"
+"none"
+"normal"
+"right"
+"text-align"
+"text-decoration"
+"text-indent"
+"text-position"
+"transparent"
+"widows"