summaryrefslogtreecommitdiff
path: root/fuzz/bndiv.c
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate ERR_get_state()Richard Levitte2019-09-121-1/+1
| | | | | | | | | Internally, we still need this function, so we make it internal and then add a new ERR_get_state() that simply calls the internal variant, unless it's "removed" by configuration. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9462)
* Following the license change, modify the boilerplates in fuzz/Richard Levitte2018-12-061-1/+1
| | | | | | | [skip ci] Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7833)
* bndiv fuzzer: limit the size of the input to avoid timeoutgbrl2017-08-161-0/+7
| | | | | | | | CLA: trivial Reviewed-by: Emilia Käsper <emilia@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4119)
* 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
* bndiv fuzzer: move new and free calls to the init and cleanup function.Kurt Roeckx2016-12-031-14/+20
| | | | | 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
* Run the fuzzing corpora as tests.Ben Laurie2016-07-011-10/+16
| | | | | 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/+101
Reviewed-by: Emilia Käsper <emilia@openssl.org>