fuzz-target-payload-codec: the §3.1 target — all five invariants in shared, thin fuzz_target wrapper, 97 committed seeds + gitignore negation + README row; placeholder bin replaced; serde (derive) added to shared
This commit is contained in:
1 parent
21ab6fe564
commit
1f6cc0970a
108 files changed
+583
-24
No files matched your search
@@ -1,4 +1,5 @@
|
||||
target
|
||||
corpus/*
|
||||
!corpus/payload_codec
|
||||
artifacts
|
||||
coverage
|
||||
Generated
+2
@@ -26,6 +26,7 @@ version = "0.0.0"
|
||||
dependencies = [
|
||||
"alkstore",
|
||||
"arbitrary",
|
||||
"serde",
|
||||
"serde_json",
|
||||
]
|
||||
|
||||
@@ -153,6 +154,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
||||
dependencies = [
|
||||
"serde_core",
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
+2
-2
@@ -15,8 +15,8 @@ alkstore-fuzz-shared = { path = "shared" }
|
||||
path = "../alkstore"
|
||||
|
||||
[[bin]]
|
||||
name = "placeholder"
|
||||
path = "fuzz_targets/placeholder.rs"
|
||||
name = "payload_codec"
|
||||
path = "fuzz_targets/payload_codec.rs"
|
||||
test = false
|
||||
doc = false
|
||||
bench = false
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ libFuzzer targets for alkstore's parse/codec surfaces (see
|
||||
|
||||
| Target | Drives | Invariants |
|
||||
|---|---|---|
|
||||
| `payload_codec` | `encode_payload` / `payload_as::<T>` (`alkstore/src/payload.rs`) | filled by its target task |
|
||||
| `payload_codec` | `encode_payload` / `payload_as::<T>` (`alkstore/src/payload.rs`) | no-panic on any byte sequence; every decode failure typed `Error::Codec`; deep nesting loud at serde_json's recursion limit; `Value` round-trip (serde_json canonicalization pinned); typed round-trip for a representative payload set |
|
||||
| `every_parse` | the three `parse_every_interval` implementations (differential) | filled by its target task |
|
||||
| `name_validation` | `validate_name` / `validate_shared_name` / `validate_local_name` (`alkstore/src/validation.rs`) | filled by its target task |
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
null
|
||||
@@ -0,0 +1 @@
|
||||
true
|
||||
@@ -0,0 +1 @@
|
||||
false
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
-1
|
||||
@@ -0,0 +1 @@
|
||||
-9223372036854775808
|
||||
@@ -0,0 +1 @@
|
||||
9223372036854775807
|
||||
@@ -0,0 +1 @@
|
||||
18446744073709551615
|
||||
@@ -0,0 +1 @@
|
||||
18446744073709551616
|
||||
@@ -0,0 +1 @@
|
||||
3.5
|
||||
@@ -0,0 +1 @@
|
||||
-2.25
|
||||
@@ -0,0 +1 @@
|
||||
1e10
|
||||
@@ -0,0 +1 @@
|
||||
1e309
|
||||
@@ -0,0 +1 @@
|
||||
-0
|
||||
@@ -0,0 +1 @@
|
||||
""
|
||||
@@ -0,0 +1 @@
|
||||
"hello world"
|
||||
@@ -0,0 +1 @@
|
||||
"unicode \u00e9"
|
||||
@@ -0,0 +1 @@
|
||||
"emoji \ud83d\ude00"
|
||||
@@ -0,0 +1 @@
|
||||
"tab\tnewline\nquote\"slash"
|
||||
@@ -0,0 +1 @@
|
||||
"null"
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1 @@
|
||||
[1, "two", null, true, {"three": 3}, []]
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1}
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "nested": {"deep": [true, null, 3.5]}}
|
||||
@@ -0,0 +1 @@
|
||||
{"\u00e9": "value"}
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
{"spaced": true}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{
|
||||
@@ -0,0 +1 @@
|
||||
{"
|
||||
@@ -0,0 +1 @@
|
||||
{"a
|
||||
@@ -0,0 +1 @@
|
||||
{"a"
|
||||
@@ -0,0 +1 @@
|
||||
{"a":
|
||||
@@ -0,0 +1 @@
|
||||
{"a":
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1,
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1,
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b"
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b":
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b":
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b": [
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b": [2
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b": [2,
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b": [2,
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b": [2, 3
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "b": [2, 3]
|
||||
@@ -0,0 +1 @@
|
||||
[
|
||||
@@ -0,0 +1 @@
|
||||
[t
|
||||
@@ -0,0 +1 @@
|
||||
[tr
|
||||
@@ -0,0 +1 @@
|
||||
[tru
|
||||
@@ -0,0 +1 @@
|
||||
[true
|
||||
@@ -0,0 +1 @@
|
||||
[true,
|
||||
@@ -0,0 +1 @@
|
||||
[true,
|
||||
@@ -0,0 +1 @@
|
||||
[true, n
|
||||
@@ -0,0 +1 @@
|
||||
[true, nu
|
||||
@@ -0,0 +1 @@
|
||||
[true, nul
|
||||
@@ -0,0 +1 @@
|
||||
[true, null
|
||||
@@ -0,0 +1 @@
|
||||
[true, null,
|
||||
@@ -0,0 +1 @@
|
||||
[true, null,
|
||||
@@ -0,0 +1 @@
|
||||
[true, null, 1
|
||||
@@ -0,0 +1 @@
|
||||
[true, null, 1.
|
||||
@@ -0,0 +1 @@
|
||||
[true, null, 1.5
|
||||
@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]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
|
||||
@@ -0,0 +1 @@
|
||||
{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":1}}}}}}}}
|
||||
@@ -0,0 +1 @@
|
||||
{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":{"a":1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
|
||||
@@ -0,0 +1 @@
|
||||
�
|
||||
@@ -0,0 +1 @@
|
||||
{"a": "˙"}
|
||||
@@ -0,0 +1 @@
|
||||
[1, 2�]
|
||||
@@ -0,0 +1 @@
|
||||
{} trailing
|
||||
@@ -0,0 +1 @@
|
||||
[1]x
|
||||
@@ -0,0 +1 @@
|
||||
1 2
|
||||
@@ -0,0 +1 @@
|
||||
null null
|
||||
@@ -0,0 +1 @@
|
||||
"first""second"
|
||||
@@ -0,0 +1 @@
|
||||
{"a": 1, "a": 2}
|
||||
@@ -0,0 +1 @@
|
||||
{"o": {"k": 1, "k": 2}, "o": 3}
|
||||
Whitespace-only changes.
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
null
|
||||
@@ -0,0 +1 @@
|
||||
nullx
|
||||
@@ -0,0 +1 @@
|
||||
NaN
|
||||
@@ -0,0 +1 @@
|
||||
Infinity
|
||||
@@ -0,0 +1 @@
|
||||
+1
|
||||
@@ -0,0 +1 @@
|
||||
01
|
||||
@@ -0,0 +1 @@
|
||||
.5
|
||||
@@ -0,0 +1 @@
|
||||
1.
|
||||
@@ -0,0 +1 @@
|
||||
--1
|
||||
@@ -0,0 +1 @@
|
||||
{,}
|
||||
@@ -0,0 +1 @@
|
||||
[1,]
|
||||
@@ -0,0 +1 @@
|
||||
{"a"}
|
||||
@@ -0,0 +1 @@
|
||||
{"missing": }
|
||||
Loaded 100 of 108 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user