mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-01 00:19:42 +00:00
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:
parent
29c5cc39fb
commit
9fc724de5a
184 changed files with 436 additions and 60 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue