@@ -54,6 +54,8 @@ size_t& GetNumMsgTypes()
54
54
55
55
void initialize_process_message ()
56
56
{
57
+ Assert (GetNumMsgTypes () == getAllNetMessageTypes ().size ()); // If this fails, add or remove the message type below
58
+
57
59
static const auto testing_setup = MakeFuzzingContext<const TestingSetup>();
58
60
g_setup = testing_setup.get ();
59
61
for (int i = 0 ; i < 2 * COINBASE_MATURITY; i++) {
@@ -104,8 +106,12 @@ void fuzz_target(FuzzBufferType buffer, const std::string& LIMIT_TO_MESSAGE_TYPE
104
106
105
107
FUZZ_TARGET_INIT (process_message, initialize_process_message) { fuzz_target (buffer, " " ); }
106
108
FUZZ_TARGET_MSG (addr);
109
+ FUZZ_TARGET_MSG (addrv2);
107
110
FUZZ_TARGET_MSG (block);
108
111
FUZZ_TARGET_MSG (blocktxn);
112
+ FUZZ_TARGET_MSG (cfcheckpt);
113
+ FUZZ_TARGET_MSG (cfheaders);
114
+ FUZZ_TARGET_MSG (cfilter);
109
115
FUZZ_TARGET_MSG (cmpctblock);
110
116
FUZZ_TARGET_MSG (feefilter);
111
117
FUZZ_TARGET_MSG (filteradd);
@@ -114,16 +120,22 @@ FUZZ_TARGET_MSG(filterload);
114
120
FUZZ_TARGET_MSG (getaddr);
115
121
FUZZ_TARGET_MSG (getblocks);
116
122
FUZZ_TARGET_MSG (getblocktxn);
123
+ FUZZ_TARGET_MSG (getcfcheckpt);
124
+ FUZZ_TARGET_MSG (getcfheaders);
125
+ FUZZ_TARGET_MSG (getcfilters);
117
126
FUZZ_TARGET_MSG (getdata);
118
127
FUZZ_TARGET_MSG (getheaders);
119
128
FUZZ_TARGET_MSG (headers);
120
129
FUZZ_TARGET_MSG (inv);
121
130
FUZZ_TARGET_MSG (mempool);
131
+ FUZZ_TARGET_MSG (merkleblock);
122
132
FUZZ_TARGET_MSG (notfound);
123
133
FUZZ_TARGET_MSG (ping);
124
134
FUZZ_TARGET_MSG (pong);
135
+ FUZZ_TARGET_MSG (sendaddrv2);
125
136
FUZZ_TARGET_MSG (sendcmpct);
126
137
FUZZ_TARGET_MSG (sendheaders);
127
138
FUZZ_TARGET_MSG (tx);
128
139
FUZZ_TARGET_MSG (verack);
129
140
FUZZ_TARGET_MSG (version);
141
+ FUZZ_TARGET_MSG (wtxidrelay);
0 commit comments