Add some fuzzers to test other data structures. (#1870)
Start using a dictionary for fuzzing (see: https://llvm.org/docs/LibFuzzer.html#dictionaries). Remove some dead code. Fuzzing with debug enabled is not usually a great idea (from performance POV). Keep the code since it might be useful while debugging.
This commit is contained in:
@@ -8,8 +8,7 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void fuzz_init_detection_module(struct ndpi_detection_module_struct **ndpi_info_mod,
|
||||
int enable_log);
|
||||
void fuzz_init_detection_module(struct ndpi_detection_module_struct **ndpi_info_mod);
|
||||
|
||||
/* To allow memory allocation failures */
|
||||
void fuzz_set_alloc_callbacks(void);
|
||||
|
||||
Reference in New Issue
Block a user