Coverage Report

Created: 2020-11-21 08:34

/src/botan/src/fuzzer/tls_client_hello.cpp
Line
Count
Source
1
/*
2
* (C) 2015,2016 Jack Lloyd
3
*
4
* Botan is released under the Simplified BSD License (see license.txt)
5
*/
6
7
#include "fuzzers.h"
8
#include <botan/tls_messages.h>
9
10
void fuzz(const uint8_t in[], size_t len)
11
15.2k
   {
12
15.2k
   try
13
15.2k
      {
14
15.2k
      std::vector<uint8_t> v(in, in + len);
15
15.2k
      Botan::TLS::Client_Hello ch(v);
16
15.2k
      }
17
11.8k
   catch(Botan::Exception& e) {}
18
15.2k
   }