nDPI/fuzz/fuzz_common_code.h
Ivan Nardi 48a7f6d487
fuzz: some enhancements (#1827)
Load some custom configuration (like in the unit tests) and factorize some
(fuzzing) common code.

There is no way to pass file paths to the fuzzers as parameters. The safe
solution seems to be to load them from the process working dir. Anyway,
missing file is not a blocking error.

Remove some dead code (found looking at the coverage report)
2022-12-10 19:49:11 +01:00

9 lines
200 B
C

#ifndef __FUZZ_COMMON_CODE_H__
#define __FUZZ_COMMON_CODE_H__
#include "ndpi_api.h"
void fuzz_init_detection_module(struct ndpi_detection_module_struct **ndpi_info_mod,
int enable_log);
#endif