aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fuzz/corpus/proto
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-19 22:49:46 +0200
committeruser <user@clank>2026-08-19 22:49:57 +0200
commit9c06e643cf5b8fe735b8088aef9ea686087e2997 (patch)
tree6896d20a827f0e453507cb10bd95c25594ce8209 /tests/fuzz/corpus/proto
parentparsers: fix seven bugs found by fuzzing (diff)
downloadslosh-9c06e643cf5b8fe735b8088aef9ea686087e2997.tar.gz
slosh-9c06e643cf5b8fe735b8088aef9ea686087e2997.tar.xz
slosh-9c06e643cf5b8fe735b8088aef9ea686087e2997.zip
fuzz: libFuzzer harness for all six parser surfaces
Targets: kdl, jsonval, expr, proto, osc5577, input — each compiled standalone against its own .c with ASan + UBSan, no vendor deps. Includes seed corpora from shipped configs/themes/chrome, real control API lines, terminal escape sequences, and regression inputs from the bugs already fixed. standalone_main.c replays files without the fuzzer runtime for debugging and CI. Top-level: make fuzz (run all, TIME=15 default), make fuzz-corpus (replay seeds only, fast CI gate).
Diffstat (limited to 'tests/fuzz/corpus/proto')
-rw-r--r--tests/fuzz/corpus/proto/cmdbin0 -> 39 bytes
-rw-r--r--tests/fuzz/corpus/proto/hellobin0 -> 13 bytes
-rw-r--r--tests/fuzz/corpus/proto/lying_len1
-rw-r--r--tests/fuzz/corpus/proto/streambin0 -> 22 bytes
-rw-r--r--tests/fuzz/corpus/proto/truncatedbin0 -> 9 bytes
5 files changed, 1 insertions, 0 deletions
diff --git a/tests/fuzz/corpus/proto/cmd b/tests/fuzz/corpus/proto/cmd
new file mode 100644
index 0000000..f94a4ee
--- /dev/null
+++ b/tests/fuzz/corpus/proto/cmd
Binary files differ
diff --git a/tests/fuzz/corpus/proto/hello b/tests/fuzz/corpus/proto/hello
new file mode 100644
index 0000000..4ffedfd
--- /dev/null
+++ b/tests/fuzz/corpus/proto/hello
Binary files differ
diff --git a/tests/fuzz/corpus/proto/lying_len b/tests/fuzz/corpus/proto/lying_len
new file mode 100644
index 0000000..74bb2cf
--- /dev/null
+++ b/tests/fuzz/corpus/proto/lying_len
@@ -0,0 +1 @@
+ÿÿÿÿxx \ No newline at end of file
diff --git a/tests/fuzz/corpus/proto/stream b/tests/fuzz/corpus/proto/stream
new file mode 100644
index 0000000..f06f1d4
--- /dev/null
+++ b/tests/fuzz/corpus/proto/stream
Binary files differ
diff --git a/tests/fuzz/corpus/proto/truncated b/tests/fuzz/corpus/proto/truncated
new file mode 100644
index 0000000..294f68e
--- /dev/null
+++ b/tests/fuzz/corpus/proto/truncated
Binary files differ