fuzz: Link all targets once

This commit is contained in:
MarcoFalke 2020-12-03 16:42:49 +01:00
parent 751ffaabad
commit 44444ba759
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
97 changed files with 434 additions and 1306 deletions

View file

@ -40,12 +40,12 @@
#include <set>
#include <vector>
void initialize()
void initialize_integer()
{
SelectParams(CBaseChainParams::REGTEST);
}
void test_one_input(const std::vector<uint8_t>& buffer)
FUZZ_TARGET_INIT(integer, initialize_integer)
{
if (buffer.size() < sizeof(uint256) + sizeof(uint160)) {
return;