aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/cms.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the fuzzers more reproducibleKurt Roeckx2016-12-031-0/+5
| | | | | | | | | | | | | | | | | We want to be in the same global state each time we come in FuzzerTestOneInput(). There are various reasons why we might not be that include: - Initialization that happens on first use. This is mostly the RUN_ONCE() things, or loading of error strings. - Results that get cached. For instance a stack that is sorted, RSA blinding that has been set up, ... So I try to trigger as much as possible in FuzzerInitialize(), and for things I didn't find out how to trigger this it needs to happen in FuzzerTestOneInput(). Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #2023
* CMS fuzzer: also use id2Kurt Roeckx2016-12-031-5/+13
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #2023
* Add a FuzzerClean() functionKurt Roeckx2016-12-031-0/+4
| | | | | | | | This allows to free everything we allocated, so we can detect memory leaks. Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #2023
* Fix formatting of fuzzersKurt Roeckx2016-12-031-2/+4
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #2023
* [fuzzers] do not fail fuzzers with empty inputMike Aizatsky2016-11-011-1/+5
| | | | | | | Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #1788
* Run the fuzzing corpora as tests.Ben Laurie2016-07-011-1/+7
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add support for fuzzing with AFLKurt Roeckx2016-06-041-1/+1
| | | | | | Reviewed-by: Ben Laurie <ben@links.org> MR: #2740
* Add fuzzing!Ben Laurie2016-05-071-0/+26
Reviewed-by: Emilia Käsper <emilia@openssl.org>