From 6911290dbb577fb295e556da6fd7e4f5f7c81a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 20 Feb 2017 11:37:43 +0100 Subject: test/fuzz: add fuzzing infrastructure For now we use the american fuzzy lop in the future we might also add libFuzzer support. --- fuzz/dictionaries/text-fuzzer.dict | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 fuzz/dictionaries/text-fuzzer.dict (limited to 'fuzz/dictionaries') diff --git a/fuzz/dictionaries/text-fuzzer.dict b/fuzz/dictionaries/text-fuzzer.dict new file mode 100644 index 0000000..389141b --- /dev/null +++ b/fuzz/dictionaries/text-fuzzer.dict @@ -0,0 +1,20 @@ +# AFL dictionary for text-fuzzer +# +# Not sure whether it makes sense to specify a dictionary, +# the syntax is quite simple? +# +cmd_earlier="-" +cmd_later="+" +cmd_mark_get="?" +# cmd_mark_set="= 0" +cmd_mark_set="=" +cmd_size="#" +# cmd_delete="d 0 1" +cmd_delete="d" +# cmd_insert="i 0 text" +cmd_insert="i" +cmd_print="p" +cmd_quit="q" +cmd_redo="r" +cmd_snapshot="s" +cmd_undo="u" -- cgit v1.2.3