fuzz: Link all targets once

This commit is contained in:
MarcoFalke
2020-12-03 16:42:49 +01:00
parent 751ffaabad
commit 44444ba759
97 changed files with 434 additions and 1306 deletions

View File

@@ -12,13 +12,13 @@
#include <limits>
#include <string>
void initialize()
void initialize_parse_univalue()
{
static const ECCVerifyHandle verify_handle;
SelectParams(CBaseChainParams::REGTEST);
}
void test_one_input(const std::vector<uint8_t>& buffer)
FUZZ_TARGET_INIT(parse_univalue, initialize_parse_univalue)
{
const std::string random_string(buffer.begin(), buffer.end());
bool valid = true;