diff options
| author | user <user@clank> | 2026-08-19 22:49:46 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-19 22:49:57 +0200 |
| commit | 9c06e643cf5b8fe735b8088aef9ea686087e2997 (patch) | |
| tree | 6896d20a827f0e453507cb10bd95c25594ce8209 /tests/fuzz/corpus/proto | |
| parent | parsers: fix seven bugs found by fuzzing (diff) | |
| download | slosh-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/cmd | bin | 0 -> 39 bytes | |||
| -rw-r--r-- | tests/fuzz/corpus/proto/hello | bin | 0 -> 13 bytes | |||
| -rw-r--r-- | tests/fuzz/corpus/proto/lying_len | 1 | ||||
| -rw-r--r-- | tests/fuzz/corpus/proto/stream | bin | 0 -> 22 bytes | |||
| -rw-r--r-- | tests/fuzz/corpus/proto/truncated | bin | 0 -> 9 bytes |
5 files changed, 1 insertions, 0 deletions
diff --git a/tests/fuzz/corpus/proto/cmd b/tests/fuzz/corpus/proto/cmd Binary files differnew file mode 100644 index 0000000..f94a4ee --- /dev/null +++ b/tests/fuzz/corpus/proto/cmd diff --git a/tests/fuzz/corpus/proto/hello b/tests/fuzz/corpus/proto/hello Binary files differnew file mode 100644 index 0000000..4ffedfd --- /dev/null +++ b/tests/fuzz/corpus/proto/hello 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 Binary files differnew file mode 100644 index 0000000..f06f1d4 --- /dev/null +++ b/tests/fuzz/corpus/proto/stream diff --git a/tests/fuzz/corpus/proto/truncated b/tests/fuzz/corpus/proto/truncated Binary files differnew file mode 100644 index 0000000..294f68e --- /dev/null +++ b/tests/fuzz/corpus/proto/truncated |
