Skip to content

Commit

Permalink
Move fuzzing dictionary into single file
Browse files Browse the repository at this point in the history
This allows AFL and libFuzzer to use the same dictionary
  • Loading branch information
philipturnbull committed Jun 27, 2017
1 parent 8628697 commit 70a6a16
Show file tree
Hide file tree
Showing 51 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ afl:
$(AFL_PATH)/afl-fuzz \
-i test/afl_test_cases \
-o test/afl_results \
-x test/afl_dictionary \
-x test/fuzzing_dictionary \
-t 100 \
$(CMARK) $(CMARK_OPTS)

Expand Down
1 change: 0 additions & 1 deletion test/afl_dictionary/asterisk

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/attr_generic

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/attr_href

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/attr_xml_lang

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/attr_xmlns

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/backslash

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/backtick

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/colon

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/dashes

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/double_quote

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/entity_builtin

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/entity_decimal

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/entity_external

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/entity_hex

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/equals

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/exclamation

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/greater_than

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/hash

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/hyphen

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/indent

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/left_bracket

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/left_paren

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/less_than

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/plus

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/right_bracket

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/right_paren

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/single_quote

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_any

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_brackets

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_cdata

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_dashes

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_empty_dblquotes

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_empty_quotes

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_idrefs

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_parentheses

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/string_pcdata

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_cdata

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_close

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_doctype

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_element

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_entity

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_notation

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_open

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_open_close

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_open_exclamation

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_open_q

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_sq2_close

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/tag_xml_q

This file was deleted.

1 change: 0 additions & 1 deletion test/afl_dictionary/underscore

This file was deleted.

49 changes: 49 additions & 0 deletions test/fuzzing_dictionary
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
asterisk="*"
attr_generic=" a=\"1\""
attr_href=" href=\"1\""
attr_xml_lang=" xml:lang=\"1\""
attr_xmlns=" xmlns=\"1\""
backslash="\\"
backtick="`"
colon=":"
dashes="---"
double_quote="\""
entity_builtin="<"
entity_decimal=""
entity_external="&a;"
entity_hex=""
equals="==="
exclamation="!"
greater_than=">"
hash="#"
hyphen="-"
indent=" "
left_bracket="["
left_paren="("
less_than="<"
plus="+"
right_bracket="]"
right_paren=")"
single_quote="'"
string_any="ANY"
string_brackets="[]"
string_cdata="CDATA"
string_dashes="--"
string_empty_dblquotes="\"\""
string_empty_quotes="''"
string_idrefs="IDREFS"
string_parentheses="()"
string_pcdata="#PCDATA"
tag_cdata="<![CDATA["
tag_close="</a>"
tag_doctype="<!DOCTYPE"
tag_element="<!ELEMENT"
tag_entity="<!ENTITY"
tag_notation="<!NOTATION"
tag_open="<a>"
tag_open_close="<a />"
tag_open_exclamation="<!"
tag_open_q="<?"
tag_sq2_close="]]>"
tag_xml_q="<?xml?>"
underscore="_"

0 comments on commit 70a6a16

Please sign in to comment.