IPv6: add support for custom categories (#2126)

This commit is contained in:
Ivan Nardi
2023-10-29 12:56:44 +01:00
committed by GitHub
parent 32b50f5aa4
commit 03fd155ae3
15 changed files with 266 additions and 25 deletions
+2
View File
@@ -220,6 +220,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
flow.l4_proto,
flow.c_address.v4, flow.c_port,
flow.s_address.v4, flow.s_port);
} else {
ndpi_find_ipv6_category_userdata(ndpi_info_mod, (struct in6_addr *)flow.c_address.v6);
}
/* Another "strange" function: fuzz it here, for lack of a better alternative */
ndpi_search_tcp_or_udp(ndpi_info_mod, &flow);