aboutsummaryrefslogtreecommitdiff
path: root/projects/mpg123
AgeCommit message (Collapse)Author
2020-03-10[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)Max Moroz
* [presubmit] Enforce language attribute in projectt.yaml to be always set. * Update documentation, better presubmit check, new project template. * add docstring to templates.py * Add example values in the project.yaml template and remove python value for now * Add "project: c++" to 256 projects * format * Add labels and selective_unpack sections to the presubmit check * fix incorrect auto_ccs format in three projects * fix nss emails after rebase
2019-09-16mpg123: limit fuzzer runtime (#2832)Thomas Orgis
* mpg123: limit runtime of decode_fuzzer To avoid spurious timeout reports, the test shall end after 10000 MPEG frames or 1 MiB of data, which should both be reasonable numbers. The timeout report motivating this had 500K with 140k bad frames. The limit of 10000 frames corresponds to a normal radio song as MP3 stream. * mpg123: limit runtime of read_fuzzer This applies the same logic as the decode fuzzer: stop decoding after 10000 MPEG frames or 1 MiB of input data. We could debate a bigger limit on the data size, but we do want compact testcases, right?
2019-09-06[mpg123] Use FuzzedDataProvider instead of byte_stream. (#2810)Max Moroz
2019-07-31[mpg123] silence library error messages (#2642)Thomas Orgis
* mpg123/read_fuzzer: disable error messages from libmpg123 This shall remove any error messages libmpg123 prints out during fuzzing, leaving only the crash trace at the inevitable end.
2019-07-15Add maintainer contact for mpg123. (#2604)Abhishek Arya
2019-05-01Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)jonathanmetzman
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
2018-12-21Add mpg123_decode fuzzer (#2037)Markus Kusano
* Add fuzzer for mpg123_decode. This fuzzes a different and non-filebased API that read_fuzzer.c. mpg123_decode is, however, streaming based so we need to chunk the fuzzer's input into multiple pieces, and pass them to the library. This is pretty annoying to do by hand so I've introduced byte_stream.h to do this automatically. Sadly, byte_stream.h is very C++ so the decode_fuzzer is also C++ now. This isn't ideal since mpg123 is a C library but this is the easiest way to do it. * Do not carry next input within std::string. * Malloc a new buffer for each decode invocation. I used malloc instead of new since ideally this fuzz target would be written in C.
2018-12-18Use experimental mode in mpg123. (#2036)Markus Kusano
2018-12-18[mpg123] Integrate project along with a fuzz target. (#2032)Markus Kusano
* Integrate mpg123 along with a fuzz target.