fuzz: improvements (#2400)

Create the zip file with all the traces only once.

Add a new fuzzer to test "shoco" compression algorithm
This commit is contained in:
Ivan Nardi
2024-04-20 18:15:23 +02:00
committed by GitHub
parent 905120588b
commit ef89183469
9 changed files with 62 additions and 34 deletions
-1
View File
@@ -7981,7 +7981,6 @@ int ndpi_enable_loaded_categories(struct ndpi_detection_module_struct *ndpi_str)
}
#else
ndpi_domain_classify_free(ndpi_str->custom_categories.sc_hostnames);
// ndpi_domain_classify_finalize(ndpi_str->custom_categories.sc_hostnames_shadow);
ndpi_str->custom_categories.sc_hostnames = ndpi_str->custom_categories.sc_hostnames_shadow;
ndpi_str->custom_categories.sc_hostnames_shadow = ndpi_domain_classify_alloc();
#endif