From 2888c6751cc8fc04b5717c0ac32c06576864107c Mon Sep 17 00:00:00 2001 From: Arthur Chan Date: Fri, 25 Sep 2026 06:20:49 +0100 Subject: [PATCH] Prepare dict and options Signed-off-by: Arthur Chan --- fuzz/json-fuzzer.dict | 37 +++++++++++++++++++++++++++++++++++++ fuzz/json-fuzzer.options | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 fuzz/json-fuzzer.dict create mode 100644 fuzz/json-fuzzer.options diff --git a/fuzz/json-fuzzer.dict b/fuzz/json-fuzzer.dict new file mode 100644 index 000000000..a183f732e --- /dev/null +++ b/fuzz/json-fuzzer.dict @@ -0,0 +1,37 @@ +# JSON structural tokens +"{" +"}" +"[" +"]" +":" +"," +"\"" + +# JSON values +"true" +"false" +"null" +"0" +"-1" +"123456789" +"\\\"" +"\\\\" +"\\n" +"\\u0000" + +# tmux layout/control-mode keys +"V" +"L" +"W" +"H" +"X" +"Y" +"T" +"S" +"id" +"result" +"error" +"routes" +"uri" +"name" +"value" diff --git a/fuzz/json-fuzzer.options b/fuzz/json-fuzzer.options new file mode 100644 index 000000000..9fda93fcb --- /dev/null +++ b/fuzz/json-fuzzer.options @@ -0,0 +1,2 @@ +[libfuzzer] +max_len = 4096