From 9b26e74bb7e105f5f79fd4bbfb4cdfe0b6e94f04 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:12:06 +0100 Subject: example: rework code between `ndpiReader.c` and `reader_util.c` (#2273) --- fuzz/fuzz_readerutils_workflow.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'fuzz/fuzz_readerutils_workflow.cpp') 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); -- cgit v1.2.3