fuzz: extend fuzzers coverage (#1952)
This commit is contained in:
@@ -45,6 +45,10 @@
|
||||
|
||||
#include "ndpi_includes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* constants */
|
||||
#define NUM_PARAMETERS_SPLT_LOGREG 208
|
||||
#define NUM_PARAMETERS_BD_LOGREG 464
|
||||
@@ -89,4 +93,8 @@ u_int64_t ndpi_timeval_to_milliseconds(pkt_timeval ts);
|
||||
u_int64_t ndpi_timeval_to_microseconds(pkt_timeval ts);
|
||||
void ndpi_log_timestamp(char *log_ts, u_int32_t log_ts_len);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* NDPI_CLASSIFY_H */
|
||||
|
||||
@@ -95,7 +95,7 @@ extern "C" {
|
||||
struct ndpi_flow_struct *flow);
|
||||
|
||||
extern u_int16_t ndpi_check_for_email_address(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
u_int16_t counter);
|
||||
u_int16_t counter);
|
||||
|
||||
extern void ndpi_int_change_category(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
struct ndpi_flow_struct *flow,
|
||||
|
||||
@@ -43,6 +43,9 @@ ndpi_port_range* ndpi_build_default_ports(ndpi_port_range *ports,
|
||||
u_int16_t portE);
|
||||
|
||||
/* TCP/UDP protocols */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
struct ndpi_flow_struct *flow,
|
||||
u_int8_t protocol,
|
||||
|
||||
Reference in New Issue
Block a user