summaryrefslogtreecommitdiffstats
path: root/fuzz/jplist.dict
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-01-25 03:45:30 +0100
committerGravatar Nikias Bassen2022-01-25 03:45:30 +0100
commitc7b005bc7864b6109115d4278872152208e78c23 (patch)
tree73b635fea8d49521bfff3815a0fc1566d3185692 /fuzz/jplist.dict
parent323009bfd003ff1540967b7b67efebab1ee8693d (diff)
downloadlibplist-c7b005bc7864b6109115d4278872152208e78c23.tar.gz
libplist-c7b005bc7864b6109115d4278872152208e78c23.tar.bz2
fuzz: Add fuzzer for JSON format
Diffstat (limited to 'fuzz/jplist.dict')
-rw-r--r--fuzz/jplist.dict52
1 files changed, 52 insertions, 0 deletions
diff --git a/fuzz/jplist.dict b/fuzz/jplist.dict
new file mode 100644
index 0000000..e08245a
--- /dev/null
+++ b/fuzz/jplist.dict
@@ -0,0 +1,52 @@
+#
+# AFL dictionary for JSON
+# -----------------------
+#
+# Just the very basics.
+#
+# Inspired by a dictionary by Jakub Wilk <jwilk@jwilk.net>
+#
+
+"0"
+",0"
+":0"
+"0:"
+"-1.2e+3"
+
+"true"
+"false"
+"null"
+
+"\"\""
+",\"\""
+":\"\""
+"\"\":"
+
+"{}"
+",{}"
+":{}"
+"{\"\":0}"
+"{{}}"
+
+"[]"
+",[]"
+":[]"
+"[0]"
+"[[]]"
+
+"''"
+"\\"
+"\\b"
+"\\f"
+"\\n"
+"\\r"
+"\\t"
+"\\u0000"
+"\\x00"
+"\\0"
+"\\uD800\\uDC00"
+"\\uDBFF\\uDFFF"
+
+"\"\":0"
+"//"
+"/**/"