fuzz: extend fuzzing coverage (#2208)

This commit is contained in:
Ivan Nardi
2023-12-11 19:24:17 +01:00
committed by GitHub
parent b3f2b1bb7f
commit 7b5354588b
15 changed files with 282 additions and 37 deletions
+6
View File
@@ -355,6 +355,12 @@ char* ndpi_intoav4(unsigned int addr, char* buf, u_int16_t bufLen);
u_int16_t icmp4_checksum(u_int8_t const * const buf, size_t len);
int load_protocols_file_fd(struct ndpi_detection_module_struct *ndpi_mod, FILE *fd);
int load_categories_file_fd(struct ndpi_detection_module_struct *ndpi_str, FILE *fd, void *user_data);
int load_malicious_sha1_file_fd(struct ndpi_detection_module_struct *ndpi_str, FILE *fd);
int load_malicious_ja3_file_fd(struct ndpi_detection_module_struct *ndpi_str, FILE *fd);
int load_risk_domain_file_fd(struct ndpi_detection_module_struct *ndpi_str, FILE *fd);
/* TLS */
int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,