Fixes #27980
Using ConnmanTestMsg we can add nodes and be
more effective fuzzing functions like DisconnectNode,
FindNode, GetNodeStats and other ones.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process.
| Type | Reviewers |
|---|---|
| ACK | MarcoFalke, dergoegge |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
lgtm ACK d9bd559638b453b8c6e03e34005ad5c52099b6bf
Using `ConnmanTestMsg` we can add nodes and be
more effective fuzzing functions like `DisconnectNode`,
`FindNode`, `GetNodeStats` and other ones.
40 | @@ -41,6 +41,13 @@ FUZZ_TARGET(connman, .init = initialize_connman) 41 | CNode random_node = ConsumeNode(fuzzed_data_provider); 42 | CSubNet random_subnet; 43 | std::string random_string; 44 | + 45 | + LOCK(NetEventsInterface::g_msgproc_mutex);
Any reason for this?
Isn't this required to use ConnmanTestMsg?
Yeah, I am asking for the compiler warning when it is removed, or the method that requires it. Am I missing something?
In fact, since we're using only AddTestNode I think that it's not required. Going to remove it..
review ACK ecfe507e07e9bdab210e04ebd3fc3b8ae9d6a094
Didn't test anything nor compile
friendly ping: @dergoegge
utACK ecfe507e07e9bdab210e04ebd3fc3b8ae9d6a094