Extend CConnman
fuzz tests to also exercise the methods OpenNetworkConnection()
, CreateNodeFromAcceptedSocket()
, InitBinds()
and SocketHandler()
.
Previously fuzzing those methods would have resulted in real socket functions being called in the operating system which is undesirable during fuzzing. Now that #21878 is complete all those are mocked to a fuzzed socket and a fuzzed DNS resolver (see how CreateSock
and g_dns_lookup
are replaced in the first commit).