summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-09-11 15:13:29 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-09-11 15:13:29 (GMT)
commita2f58f7c8b0491fee6abd99ed19beae87887299c (patch)
treea8744d8306cb369b97bec52856d12998b70e163e
parent29874def63e8c02159516327a7393fdd1da455d1 (diff)
downloadlibsvgtiny-a2f58f7c8b0491fee6abd99ed19beae87887299c.tar.gz
libsvgtiny-a2f58f7c8b0491fee6abd99ed19beae87887299c.tar.bz2
SVG dictionary for use with AFL tool
-rw-r--r--test/afl-svg.dict170
1 files changed, 170 insertions, 0 deletions
diff --git a/test/afl-svg.dict b/test/afl-svg.dict
new file mode 100644
index 0000000..2f6c059
--- a/dev/null
+++ b/test/afl-svg.dict
@@ -0,0 +1,170 @@
+#
+# AFL dictionary for SVG
+# ----------------------
+#
+# Several basic syntax elements and attributes, modeled on AFL XML dictionary
+#
+# Michal Zalewski <lcamtuf@google.com>
+# Vincent Sanders <vince@netsurf-browser.org>
+#
+
+# SVG element reference from MDN
+# https://developer.mozilla.org/en-US/docs/Web/SVG/Element
+#
+tag_a="<a"
+tag_open_close="<a />"
+tag_close="</a>"
+tag_altGlyph="<altGlyph"
+tag_altGlyphDef="<altGlyphDef"
+tag_altGlyphItem="<altGlyphItem"
+tag_animate="<animate"
+tag_animateColor="<animateColor"
+tag_animateMotion="<animateMotion"
+tag_animateTransform="<animateTransform"
+tag_circle="<circle"
+tag_clipPath="<clipPath"
+tag_close_clipPath="</clipPath>"
+tag_color_profile="<color-profile"
+tag_cursor="<cursor"
+tag_defs="<defs"
+tag_desc="<desc"
+tag_ellipse="<ellipse"
+tag_feBlend="<feBlend"
+tag_feColorMatrix="<feColorMatrix"
+tag_feComponentTransfer="<feComponentTransfer"
+tag_feComposite="<feComposite"
+tag_feConvolveMatrix="<feConvolveMatrix"
+tag_feDiffuseLighting="<feDiffuseLighting"
+tag_feDisplacementMap="<feDisplacementMap"
+tag_feDistantLight="<feDistantLight"
+tag_feFlood="<feFlood"
+tag_feFuncA="<feFuncA"
+tag_feFuncB="<feFuncB"
+tag_feFuncG="<feFuncG"
+tag_feFuncR="<feFuncR"
+tag_feGaussianBlur="<feGaussianBlur"
+tag_feImage="<feImage"
+tag_feMerge="<feMerge"
+tag_feMergeNode="<feMergeNode"
+tag_feMorphology="<feMorphology"
+tag_feOffset="<feOffset"
+tag_fePointLight="<fePointLight"
+tag_feSpecularLighting="<feSpecularLighting"
+tag_feSpotLight="<feSpotLight"
+tag_feTile="<feTile"
+tag_feTurbulence="<feTurbulence"
+tag_filter="<filter"
+tag_font="<font"
+tag_font_face="<font-face"
+tag_font_face_format="<font-face-format"
+tag_font_face_name="<font-face-name"
+tag_font_face_src="<font-face-src"
+tag_font_face_uri="<font-face-uri"
+tag_foreignObject="<foreignObject"
+tag_g="<g"
+tag_close_g="</g>"
+tag_glyph="<glyph"
+tag_glyphRef="<glyphRef"
+tag_hkern="<hkern"
+tag_image="<image"
+tag_line="<line"
+tag_linearGradient="<linearGradient"
+tag_marker="<marker"
+tag_mask="<mask"
+tag_metadata="<metadata"
+tag_missing_glyph="<missing-glyph"
+tag_mpath="<mpath"
+tag_path="<path"
+tag_pattern="<pattern"
+tag_polygon="<polygon"
+tag_polyline="<polyline"
+tag_radialGradient="<radialGradient"
+tag_rect="<rect"
+tag_script="<script"
+tag_set="<set"
+tag_stop="<stop"
+tag_style="<style"
+tag_svg="<svg"
+tag_switch="<switch"
+tag_symbol="<symbol"
+tag_text="<text"
+tag_textPath="<textPath"
+tag_title="<title"
+tag_tref="<tref"
+tag_tspan="<tspan"
+tag_use="<use"
+tag_view="<view"
+tag_vkern="<vkern"
+
+attrribute_id=" id"
+attrribute_transform=" transform"
+attrribute_target=" target"
+attrribute_d=" d"
+attrribute_style=" style"
+attrribute_width=" width"
+attrribute_height=" height"
+attrribute_x=" x"
+attrribute_y=" y"
+attrribute_anchor=" text-anchor"
+
+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;"
+
+string_any="ANY"
+string_brackets="[]"
+string_cdata="CDATA"
+string_col_fallback=":fallback"
+string_col_generic=":a"
+string_col_include=":include"
+string_dashes="--"
+string_empty="EMPTY"
+string_empty_dblquotes="\"\""
+string_empty_quotes="''"
+string_entities="ENTITIES"
+string_entity="ENTITY"
+string_fixed="#FIXED"
+string_id="ID"
+string_idref="IDREF"
+string_idrefs="IDREFS"
+string_implied="#IMPLIED"
+string_nmtoken="NMTOKEN"
+string_nmtokens="NMTOKENS"
+string_notation="NOTATION"
+string_parentheses="()"
+string_pcdata="#PCDATA"
+string_percent="%a"
+string_public="PUBLIC"
+string_required="#REQUIRED"
+string_schema=":schema"
+string_system="SYSTEM"
+string_ucs4="UCS-4"
+string_utf16="UTF-16"
+string_utf8="UTF-8"
+string_xmlns="xmlns:"
+
+tag_attlist="<!ATTLIST"
+tag_cdata="<![CDATA["
+tag_doctype="<!DOCTYPE"
+tag_element="<!ELEMENT"
+tag_entity="<!ENTITY"
+tag_ignore="<![IGNORE["
+tag_include="<![INCLUDE["
+tag_notation="<!NOTATION"
+tag_open_exclamation="<!"
+tag_open_q="<?"
+tag_sq2_close="]]>"
+tag_xml_q="<?xml?>"
+