fuzz: extend fuzzing coverage (#2281)
This commit is contained in:
@@ -387,23 +387,6 @@ extern "C" {
|
||||
struct ndpi_flow_struct *flow,
|
||||
struct ndpi_proto * ndpi_proto);
|
||||
|
||||
/**
|
||||
* API call that is called internally by ndpi_detection_process_packet or by apps
|
||||
* that want to avoid calling ndpi_detection_process_packet as they have already
|
||||
* parsed the packet and thus want to avoid this.
|
||||
*
|
||||
*
|
||||
* @par ndpi_struct = the detection module
|
||||
* @par flow = the flow given for the detection module
|
||||
* @par ndpi_selection_bitmask = the protocol selected bitmask
|
||||
* @return number of protocol dissector that have been tried (0 = no more dissectors)
|
||||
*
|
||||
*/
|
||||
u_int32_t ndpi_check_flow_func(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
struct ndpi_flow_struct *flow,
|
||||
NDPI_SELECTION_BITMASK_PROTOCOL_SIZE *ndpi_selection_packet);
|
||||
|
||||
|
||||
/**
|
||||
* Query the pointer to the layer 4 packet
|
||||
*
|
||||
|
||||
@@ -265,7 +265,6 @@ struct ndpi_detection_module_struct {
|
||||
u_int ndpi_num_supported_protocols;
|
||||
u_int ndpi_num_custom_protocols;
|
||||
|
||||
int ac_automa_finalized;
|
||||
/* HTTP/DNS/HTTPS/QUIC host matching */
|
||||
ndpi_automa host_automa, /* Used for DNS/HTTPS */
|
||||
risky_domain_automa, tls_cert_subject_automa,
|
||||
@@ -414,9 +413,6 @@ u_int8_t ips_match(u_int32_t src, u_int32_t dst,
|
||||
u_int8_t ends_with(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
char *str, char *ends);
|
||||
|
||||
u_int16_t check_for_email_address(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
u_int16_t counter);
|
||||
|
||||
u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
struct ndpi_flow_struct *flow,
|
||||
u_int8_t protocol,
|
||||
@@ -434,7 +430,8 @@ int load_malicious_sha1_file_fd(struct ndpi_detection_module_struct *ndpi_str, F
|
||||
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);
|
||||
int load_config_file_fd(struct ndpi_detection_module_struct *ndpi_str, FILE *fd);
|
||||
|
||||
int load_category_file_fd(struct ndpi_detection_module_struct *ndpi_str,
|
||||
FILE *fd, ndpi_protocol_category_t category_id);
|
||||
|
||||
/* TLS */
|
||||
int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
|
||||
Reference in New Issue
Block a user