aboutsummaryrefslogtreecommitdiff
path: root/fuzz/fuzz_readerutils_workflow.cpp
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-01-22 18:12:06 +0100
committerGitHub <noreply@github.com>2024-01-22 18:12:06 +0100
commit9b26e74bb7e105f5f79fd4bbfb4cdfe0b6e94f04 (patch)
tree4ebd986030b440dd45e99f3b0a95b3219a57f3c0 /fuzz/fuzz_readerutils_workflow.cpp
parent82e8bf91ddb5bf38974d4372fb0ec4849b964ec8 (diff)
example: rework code between `ndpiReader.c` and `reader_util.c` (#2273)
Diffstat (limited to 'fuzz/fuzz_readerutils_workflow.cpp')
1 files changed, 0 insertions, 4 deletions
diff --git a/fuzz/fuzz_readerutils_workflow.cpp b/fuzz/fuzz_readerutils_workflow.cpp
index d4d747374..a3aea2e11 100644
--- a/fuzz/fuzz_readerutils_workflow.cpp
+++ b/fuzz/fuzz_readerutils_workflow.cpp
@@ -8,15 +8,11 @@
extern u_int8_t enable_doh_dot_detection;
-u_int32_t current_ndpi_memory = 0, max_ndpi_memory = 0;
u_int8_t enable_payload_analyzer = 0;
u_int8_t enable_flow_stats = 0;
u_int8_t human_readeable_string_len = 5;
u_int8_t max_num_udp_dissected_pkts = 16 /* 8 is enough for most protocols, Signal requires more */, max_num_tcp_dissected_pkts = 80 /* due to telnet */;
-int enable_malloc_bins = 0;
int malloc_size_stats = 0;
-int max_malloc_bins = 14;
-struct ndpi_bin malloc_bins; /* unused */
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
FuzzedDataProvider fuzzed_data(data, size);