diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-12-03 16:42:49 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-12-10 07:15:42 +0100 |
commit | 44444ba759480237172d83f42374c5c29c76eda0 (patch) | |
tree | aefce76c13c39192d4922a88749755dbc2decc11 /src/test/fuzz/asmap.cpp | |
parent | 751ffaabad82f7904fd1d9742a0b323a0ab7bfee (diff) | |
download | bitcoin-44444ba759480237172d83f42374c5c29c76eda0.tar.xz |
fuzz: Link all targets once
Diffstat (limited to 'src/test/fuzz/asmap.cpp')
-rw-r--r-- | src/test/fuzz/asmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/asmap.cpp b/src/test/fuzz/asmap.cpp index e3aefa18a3..4c5bc0cbf2 100644 --- a/src/test/fuzz/asmap.cpp +++ b/src/test/fuzz/asmap.cpp @@ -27,7 +27,7 @@ static const std::vector<bool> IPV4_PREFIX_ASMAP = { true, true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true // Match 0xFF }; -void test_one_input(const std::vector<uint8_t>& buffer) +FUZZ_TARGET(asmap) { // Encoding: [7 bits: asmap size] [1 bit: ipv6?] [3-130 bytes: asmap] [4 or 16 bytes: addr] if (buffer.size() < 1 + 3 + 4) return; |