edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | #!/usr/bin/env bash |
| 2 | # seed.sh: fill fuzz/corpus/<target>/ from the repo's Ogg fixtures. |
| 3 | # |
| 4 | # The Ogg files are the Opus-in-Ogg and Vorbis-in-Ogg fixtures under fixtures/audio and the |
| 5 | # Xiph Vorbis vectors under fixtures/vectors/vorbis-xiph. The RFC 6716 vectors under |
| 6 | # fixtures/vectors/opus-rfc6716 are .bit records, not Ogg, and are left to ec-opus's seeds. |
| 7 | # |
| 8 | # page_parse, demux, demux_raw each get every file as-is. mapping gets the first 256 bytes of |
| 9 | # each file, which is where the identification headers sit. roundtrip gets its own layout: |
| 10 | # a 4-byte header and u16-BE-length-prefixed Opus packets taken from each file's audio pages. |
| 11 | # |
| 12 | # Corpus lives under fuzz/corpus, which is git-ignored. |
| 13 | |
| 14 | |
| 15 | FUZZ_DIR= |
| 16 | ROOT= |
| 17 | AUDIO="/fixtures/audio" |
| 18 | VORBIS="/fixtures/vectors/vorbis-xiph" |
| 19 | [ || { ; ; } |
| 20 | |
| 21 | CORPUS="/corpus" |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 |