edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | |
| 2 | |
| 3 | // Input layout: |
| 4 | // three packets, each prefixed by a u16 big-endian length: identification, comment, setup. |
| 5 | // A length past the end of the input is clamped to what remains. Extra bytes after the third |
| 6 | // packet are ignored. |
| 7 | |
| 8 | use ; |
| 9 | use fuzz_target; |
| 10 | |
| 11 | /// Split `data` into at most `max` u16-BE-length-prefixed packets. |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | fuzz_target! |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | ; |