File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
+ #include < pubkey.h>
5
6
#include < script/interpreter.h>
6
- #include < test/fuzz/FuzzedDataProvider.h>
7
7
#include < test/fuzz/fuzz.h>
8
+ #include < test/fuzz/FuzzedDataProvider.h>
9
+ #include < util/memory.h>
8
10
9
11
#include < limits>
10
12
13
+ void initialize ()
14
+ {
15
+ static const auto verify_handle = MakeUnique<ECCVerifyHandle>();
16
+ }
17
+
11
18
void test_one_input (const std::vector<uint8_t >& buffer)
12
19
{
13
20
FuzzedDataProvider fuzzed_data_provider (buffer.data (), buffer.size ());
Original file line number Diff line number Diff line change 2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
+ #include < pubkey.h>
5
6
#include < script/interpreter.h>
6
7
#include < streams.h>
8
+ #include < util/memory.h>
7
9
#include < version.h>
8
10
9
11
#include < test/fuzz/fuzz.h>
10
12
11
13
/* * Flags that are not forbidden by an assert */
12
14
static bool IsValidFlagCombination (unsigned flags);
13
15
16
+ void initialize ()
17
+ {
18
+ static const auto verify_handle = MakeUnique<ECCVerifyHandle>();
19
+ }
20
+
14
21
void test_one_input (const std::vector<uint8_t >& buffer)
15
22
{
16
23
CDataStream ds (buffer, SER_NETWORK, INIT_PROTO_VERSION);
You can’t perform that action at this time.
0 commit comments