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>/ with synthetic AMR-NB files, one per mode. |
| 3 | # Needs ffmpeg with libopencore_amrnb. fuzz_container gets each .amr as-is; |
| 4 | # fuzz_nb_decode gets it with the 6-byte magic stripped (ToC + frames). |
| 5 | # Corpus lives under fuzz/corpus, which is git-ignored. |
| 6 | |
| 7 | |
| 8 | FUZZ_DIR= |
| 9 | CONT="/corpus/fuzz_container" |
| 10 | DEC="/corpus/fuzz_nb_decode" |
| 11 | |
| 12 | TMP= |
| 13 | |
| 14 | |
| 15 | i=0 |
| 16 | for; do |
| 17 | f="/m.amr" |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | i= |
| 23 | done |
| 24 |