fuzz: add CConnman::SocketHandler() to the tests

This commit is contained in:
Vasil Dimov committed 2025-06-09 14:17:33 +02:00
1 parent 3265df63a4
commit 6d9e5d130d
2 files changed
+8

No files matched your search

+3
View File
@@ -206,6 +206,9 @@ FUZZ_TARGET(connman, .init = initialize_connman)
options.onion_binds.empty();
connman.InitBindsPublic(options);
},
[&] {
connman.SocketHandlerPublic();
});
}
(void)connman.GetAddedNodeInfo(fuzzed_data_provider.ConsumeBool());
+5
View File
@@ -81,6 +81,11 @@ struct ConnmanTestMsg : public CConnman {
return InitBinds(options);
}
void SocketHandlerPublic()
{
SocketHandler();
}
void Handshake(CNode& node,
bool successfully_connected,
ServiceFlags remote_services,