fuzz: add CConnman::SocketHandler() to the tests
This commit is contained in:
2 files changed
+8
No files matched your search
@@ -206,6 +206,9 @@ FUZZ_TARGET(connman, .init = initialize_connman)
|
|||||||
options.onion_binds.empty();
|
options.onion_binds.empty();
|
||||||
|
|
||||||
connman.InitBindsPublic(options);
|
connman.InitBindsPublic(options);
|
||||||
|
},
|
||||||
|
[&] {
|
||||||
|
connman.SocketHandlerPublic();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
(void)connman.GetAddedNodeInfo(fuzzed_data_provider.ConsumeBool());
|
(void)connman.GetAddedNodeInfo(fuzzed_data_provider.ConsumeBool());
|
||||||
|
|||||||
@@ -81,6 +81,11 @@ struct ConnmanTestMsg : public CConnman {
|
|||||||
return InitBinds(options);
|
return InitBinds(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SocketHandlerPublic()
|
||||||
|
{
|
||||||
|
SocketHandler();
|
||||||
|
}
|
||||||
|
|
||||||
void Handshake(CNode& node,
|
void Handshake(CNode& node,
|
||||||
bool successfully_connected,
|
bool successfully_connected,
|
||||||
ServiceFlags remote_services,
|
ServiceFlags remote_services,
|
||||||
|
|||||||
Reference in new issue
Block a user