Skip to content

Commit ded9d8c

Browse files
Add dictionary for fuzzing
1 parent fd94025 commit ded9d8c

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

src/test_lib_json/fuzz.dict

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#
2+
# AFL dictionary for JSON
3+
# -----------------------
4+
#
5+
# Just the very basics.
6+
#
7+
# Inspired by a dictionary by Jakub Wilk <jwilk@jwilk.net>
8+
#
9+
# https://github.com/rc0r/afl-fuzz/blob/master/dictionaries/json.dict
10+
#
11+
12+
"0"
13+
",0"
14+
":0"
15+
"0:"
16+
"-1.2e+3"
17+
18+
"true"
19+
"false"
20+
"null"
21+
22+
"\"\""
23+
",\"\""
24+
":\"\""
25+
"\"\":"
26+
27+
"{}"
28+
",{}"
29+
":{}"
30+
"{\"\":0}"
31+
"{{}}"
32+
33+
"[]"
34+
",[]"
35+
":[]"
36+
"[0]"
37+
"[[]]"
38+
39+
"''"
40+
"\\"
41+
"\\b"
42+
"\\f"
43+
"\\n"
44+
"\\r"
45+
"\\t"
46+
"\\u0000"
47+
"\\x00"
48+
"\\0"
49+
"\\uD800\\uDC00"
50+
"\\uDBFF\\uDFFF"
51+
52+
"\"\":0"
53+
"//"
54+
"/**/"

0 commit comments

Comments
 (0)