edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | |
| 2 | |
| 3 | // Untrusted entry: arbitrary bytes as one DNxHD/DNxHR frame packet. Errors are |
| 4 | // expected for malformed input; only panics, hangs and OOM count. |
| 5 | |
| 6 | use ; |
| 7 | use DnxhdDecoder; |
| 8 | use fuzz_target; |
| 9 | |
| 10 | /// Harness cap: pictures larger than this are skipped (the decoder itself |
| 11 | /// bounds allocation at 8192x4608; the cap keeps fuzz runs fast). |
| 12 | const MAX_PIXELS: u64 = 2_000_000; |
| 13 | |
| 14 | fuzz_target! |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | ; |