78@@ -79,6 +79,18 @@ FUZZ_TARGET(connman, .init = initialize_connman)
79 CConnman::Options options;
80 options.m_msgproc = &net_events;
81 options.nMaxOutboundLimit = max_outbound_limit;
82+
83+ auto consume_whitelist = [&]() {
84+ std::vector<NetWhitelistPermissions> result(fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 3));
85+ for (auto& entry : result) {
86+ entry.m_flags = ConsumeWeakEnum(fuzzed_data_provider, ALL_NET_PERMISSION_FLAGS);
nit: Should this exclude Implicit? I think TryParsePermissionFlags never produces it with other flags.
I think Implicit would be considered as if both -whitebind or -whitelist had not been defined, perhaps we can leave it as is.
fair enough, makes sense to leave it.