boringssl/fuzz
David Benjamin 2908dd141f Add bssl::UpRef.
bssl::UniquePtr and FOO_up_ref do not play well together. Add a helper
to simplify this. This allows us to write things like:

   foo->cert = UpRef(bar->cert);

instead of:

   if (bar->cert) {
     X509_up_ref(bar->cert.get());
   }
   foo->cert.reset(bar->cert.get());

This also plays well with PushToStack. To append something to a stack
while taking a reference, it's just:

   PushToStack(certs, UpRef(cert))

Change-Id: I99ae8de22b837588a2d8ffb58f86edc1d03ed46a
Reviewed-on: https://boringssl-review.googlesource.com/29584
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2018-07-03 22:47:36 +00:00
..
bn_div_corpus Generate bn_div and bn_mod_exp corpus from bn_tests.txt. 2017-10-27 18:57:48 +00:00
bn_mod_exp_corpus Generate bn_div and bn_mod_exp corpus from bn_tests.txt. 2017-10-27 18:57:48 +00:00
cert_corpus Merge in upstream's certificate corpus. 2016-12-12 21:41:00 +00:00
client_corpus Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
client_corpus_no_fuzzer_mode Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
dtls_client_corpus Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
dtls_server_corpus Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
pkcs8_corpus
pkcs12_corpus Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00
privkey_corpus
read_pem_corpus Replace base64 decoding. 2016-05-26 17:59:10 +00:00
server_corpus Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
server_corpus_no_fuzzer_mode Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
session_corpus
spki_corpus
ssl_ctx_api_corpus
bn_div.cc Generate bn_div and bn_mod_exp corpus from bn_tests.txt. 2017-10-27 18:57:48 +00:00
bn_mod_exp.cc Require BN_mod_exp_mont* inputs be reduced. 2018-04-24 18:29:29 +00:00
cert.cc
client.cc Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
CMakeLists.txt Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00
dtls_client.cc Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
dtls_server.cc Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
minimise_corpuses.sh
pkcs8.cc
pkcs12.cc Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00
privkey.cc
read_pem.cc
refresh_ssl_corpora.sh Defer writing the shim settings. 2018-05-01 19:49:46 +00:00
server.cc Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
session.cc
spki.cc
ssl_ctx_api.cc Add bssl::UpRef. 2018-07-03 22:47:36 +00:00