nDPI/fuzz
Ivan Nardi 575a2b238a
Fix fuzzer dependencies to rebuild when library changes (#3078)
Five fuzzers (fuzz_process_packet, fuzz_ndpi_reader, fuzz_ndpi_reader_alloc_fail,
fuzz_ndpi_reader_payload_analyzer, and fuzz_tls_certificate) were not rebuilding
when libndpi.a changed because their explicit DEPENDENCIES declarations only
included dictionary files.

In Automake, when prog_DEPENDENCIES is explicitly set, it overrides the automatic
dependency generation from LDADD. This caused these fuzzers to miss the library
dependency that the other 55 fuzzers correctly inherited.

This commit adds $(top_builddir)/src/lib/libndpi.a to the DEPENDENCIES for all
5 affected fuzzers, ensuring they rebuild whenever the library changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 17:10:05 +01:00
..
corpus fuzz: keep only real/interesting corpora (#3009) 2025-10-23 14:18:11 +02:00
bd_param.txt fuzz: extend coverage (#2073) 2023-08-20 15:18:19 +02:00
dictionary.dict UBNTAC2,Ookla: improve detection (#2793) 2025-04-10 13:18:44 +02:00
dictionary_tls_certificate.dict fuzz: add a new fuzzer to test TLS certificates (#1901) 2023-03-20 17:00:46 +01:00
fuzz_alg_bins.cpp fuzz: some improvements and add two new fuzzers (#1881) 2023-02-09 20:02:12 +01:00
fuzz_alg_bytestream.c fuzz: extend fuzz coverage (#1888) 2023-02-16 18:04:34 +01:00
fuzz_alg_crc32_md5.c fuzz: try to improve fuzzing coverage (#2981) 2025-10-06 20:44:31 +02:00
fuzz_alg_hll.cpp fuzz: some improvements and add two new fuzzers (#1881) 2023-02-09 20:02:12 +01:00
fuzz_alg_hw_rsi_outliers_da.cpp fuzz: extend fuzzing coverage (#2750) 2025-02-28 12:38:15 +01:00
fuzz_alg_hw_rsi_outliers_da.options fuzz: extend fuzzing coverage (#2205) 2023-12-11 12:48:50 +01:00
fuzz_alg_jitter.cpp fuzz: some improvements and add two new fuzzers (#1881) 2023-02-09 20:02:12 +01:00
fuzz_alg_memmem.cpp fuzz: extend fuzzing coverage 2025-06-24 15:04:35 +02:00
fuzz_alg_quick_encryption.cpp fuzz: improve coverage (#2612) 2024-11-01 18:17:22 +01:00
fuzz_alg_ranking.cpp fuzz: add fuzzer to test ranking algorithm (#3024) 2025-11-09 16:49:35 +01:00
fuzz_alg_ranking.options fuzz: add fuzzer to test ranking algorithm (#3024) 2025-11-09 16:49:35 +01:00
fuzz_alg_ses_des.cpp fuzz: improve fuzzing coverage (#2239) 2024-01-02 15:22:44 +01:00
fuzz_alg_shoco.cpp fuzz: improve fuzzing coverage (#2474) 2024-06-17 13:45:47 +02:00
fuzz_alg_strnstr.cpp fuzz: extend coverage (#2786) 2025-03-31 17:54:14 +02:00
fuzz_binaryfusefilter.cpp fuzz: extend fuzzing coverage 2023-09-16 11:26:11 +02:00
fuzz_common_code.c fuzz: minor improvements. Be sure the right configuration is always loaded (#3031) 2025-11-18 14:11:16 +01:00
fuzz_common_code.h Allow multiple struct ndpi_detection_module_struct to share some state (#2271) 2024-02-01 15:33:11 +01:00
fuzz_community_id.cpp Add some fuzzers to test other data structures. (#1870) 2023-01-25 11:44:59 +01:00
fuzz_config.cpp fuzz: extend fuzzing coverage and fix loading of TCP fingerprints from file (#3059) 2025-12-09 14:03:46 +01:00
fuzz_config.options fuzz: extend fuzzing coverage (#2750) 2025-02-28 12:38:15 +01:00
fuzz_dga.c DNS: fix check for DGA domain (#2716) 2025-02-11 15:48:53 +01:00
fuzz_ds_address_cache.cpp fuzz: try to improve fuzzing coverage (#2981) 2025-10-06 20:44:31 +02:00
fuzz_ds_ahocorasick.cpp fuzz: improve fuzzing coverage (#2474) 2024-06-17 13:45:47 +02:00
fuzz_ds_ahocorasick.options fuzz: improve fuzzing coverage (#2239) 2024-01-02 15:22:44 +01:00
fuzz_ds_bitmap.cpp fuzz: add new fuzzers for bitmask and filter data structures (#2937) 2025-09-02 16:54:08 +02:00
fuzz_ds_bitmap64_fuse.cpp Added support for roaring bitmap v3 (#2355) 2024-03-25 08:15:19 +01:00
fuzz_ds_btree.cpp fuzz: add 2 new fuzzers for KD-trees and Ball-trees (#2670) 2025-01-13 17:31:45 +01:00
fuzz_ds_cmsketch.cpp fuzz: extend fuzzing coverage (#2052) 2023-07-18 07:41:56 +02:00
fuzz_ds_domain_classify.cpp Extend values saved in hash data structure to u_int64_t (#3013) 2025-10-24 17:58:08 +02:00
fuzz_ds_filter.cpp fuzz: add new fuzzers for bitmask and filter data structures (#2937) 2025-09-02 16:54:08 +02:00
fuzz_ds_hash.cpp Extend values saved in hash data structure to u_int64_t (#3013) 2025-10-24 17:58:08 +02:00
fuzz_ds_kdtree.cpp fuzz: add 2 new fuzzers for KD-trees and Ball-trees (#2670) 2025-01-13 17:31:45 +01:00
fuzz_ds_libcache.cpp Add some fuzzers to test other data structures. (#1870) 2023-01-25 11:44:59 +01:00
fuzz_ds_patricia.cpp fuzz: extend fuzzing coverage (#2281) 2024-01-24 21:16:58 +01:00
fuzz_ds_ptree.cpp Small fixes after API cleanup done in c63446e59 (#2449) 2024-05-20 19:06:24 +02:00
fuzz_ds_tree.cpp Disable -Wno-unused-parameter -Wno-unused-function. (#2358) 2024-04-03 14:10:21 +02:00
fuzz_filecfg_categories.c New API to enable/disable protocols; remove ndpi_set_protocol_detection_bitmask2() (#2853) 2025-06-03 09:45:46 +02:00
fuzz_filecfg_category.c New API to enable/disable protocols; remove ndpi_set_protocol_detection_bitmask2() (#2853) 2025-06-03 09:45:46 +02:00
fuzz_filecfg_config.c New API to enable/disable protocols; remove ndpi_set_protocol_detection_bitmask2() (#2853) 2025-06-03 09:45:46 +02:00
fuzz_filecfg_malicious_ja4.c New API to enable/disable protocols; remove ndpi_set_protocol_detection_bitmask2() (#2853) 2025-06-03 09:45:46 +02:00
fuzz_filecfg_malicious_sha1.c Unify ndpi debug logging to always use a u16 protocol id (#2613) 2024-11-11 15:17:33 +01:00
fuzz_filecfg_protocols.c New API to enable/disable protocols; remove ndpi_set_protocol_detection_bitmask2() (#2853) 2025-06-03 09:45:46 +02:00
fuzz_filecfg_risk_domains.c New API to enable/disable protocols; remove ndpi_set_protocol_detection_bitmask2() (#2853) 2025-06-03 09:45:46 +02:00
fuzz_gcrypt_aes.cpp fuzz: extend fuzzing coverage (#2205) 2023-12-11 12:48:50 +01:00
fuzz_gcrypt_cipher.cpp fuzz: improve fuzzing coverage (#2474) 2024-06-17 13:45:47 +02:00
fuzz_gcrypt_gcm.cpp fuzz: extend fuzzing coverage (#2205) 2023-12-11 12:48:50 +01:00
fuzz_gcrypt_light.cpp fuzz: improve fuzzing coverage (#2309) 2024-02-09 19:19:03 +01:00
fuzz_is_stun.c fuzz: fix compilation 2025-06-18 08:12:32 +02:00
fuzz_is_stun_tcp.c fuzz: improve per-fuzzer introspector statistics (#2970) 2025-09-21 17:20:45 +02:00
fuzz_libinjection.c fuzz: extend fuzzing coverage 2023-10-15 12:00:26 +02:00
fuzz_ndpi_reader.c nDPI fingerprint calculation 2026-01-09 12:00:10 +01:00
fuzz_ndpi_reader_alloc_fail.c fuzz: improve per-fuzzer introspector statistics (#2970) 2025-09-21 17:20:45 +02:00
fuzz_ndpi_reader_alloc_fail.options fuzz: extend fuzzing coverage (#2750) 2025-02-28 12:38:15 +01:00
fuzz_ndpi_reader_payload_analyzer.c fuzz: improve per-fuzzer introspector statistics (#2970) 2025-09-21 17:20:45 +02:00
fuzz_ndpi_reader_payload_analyzer.options fuzz: extend fuzzing coverage 2023-10-15 12:00:26 +02:00
fuzz_ndpi_reader_pl7m.c fuzz: an attempt to get better introspector stats (#2968) 2025-09-16 16:57:05 +02:00
fuzz_ndpi_reader_pl7m.options fuzz: improve fuzzers using pl7m (#2486) 2024-06-29 18:01:05 +02:00
fuzz_ndpi_reader_pl7m_64k.c fuzz: an attempt to get better introspector stats (#2968) 2025-09-16 16:57:05 +02:00
fuzz_ndpi_reader_pl7m_64k.options fuzz: improve fuzzers using pl7m (#2486) 2024-06-29 18:01:05 +02:00
fuzz_ndpi_reader_pl7m_internal.c fuzz: improve per-fuzzer introspector statistics (#2970) 2025-09-21 17:20:45 +02:00
fuzz_ndpi_reader_pl7m_internal.options fuzz: improve fuzzers using pl7m (#2486) 2024-06-29 18:01:05 +02:00
fuzz_ndpi_reader_pl7m_internal_simplest.options fuzz: improve fuzzers using pl7m (#2486) 2024-06-29 18:01:05 +02:00
fuzz_ndpi_reader_pl7m_only_subclassification.c fuzz: improve per-fuzzer introspector statistics (#2970) 2025-09-21 17:20:45 +02:00
fuzz_ndpi_reader_pl7m_randomize_ports.c fuzz: improve per-fuzzer introspector statistics (#2970) 2025-09-21 17:20:45 +02:00
fuzz_ndpi_reader_pl7m_simplest.c fuzz: improve per-fuzzer introspector statistics (#2970) 2025-09-21 17:20:45 +02:00
fuzz_ndpi_reader_pl7m_simplest.options fuzz: improve fuzzers using pl7m (#2486) 2024-06-29 18:01:05 +02:00
fuzz_ndpi_reader_pl7m_simplest_internal.c fuzz: improve per-fuzzer introspector statistics (#2970) 2025-09-21 17:20:45 +02:00
fuzz_process_packet.c Provide an explicit state for the flow classification process (#2942) 2025-11-03 12:08:15 +01:00
fuzz_quic_get_crypto_data.c Allow multiple struct ndpi_detection_module_struct to share some state (#2271) 2024-02-01 15:33:11 +01:00
fuzz_readerutils_workflow.cpp fuzz: minor improvements. Be sure the right configuration is always loaded (#3031) 2025-11-18 14:11:16 +01:00
fuzz_serialization.cpp fuzz: extend fuzzing coverage (#2626) 2024-11-20 13:36:41 +01:00
fuzz_tls_certificate.c Allow multiple struct ndpi_detection_module_struct to share some state (#2271) 2024-02-01 15:33:11 +01:00
ipv4_addresses.txt fuzz: extend fuzzing coverage (#2281) 2024-01-24 21:16:58 +01:00
ipv6_addresses.txt Fix/improve fuzzing (#2426) 2024-05-08 11:46:02 +02:00
Makefile.am Fix fuzzer dependencies to rebuild when library changes (#3078) 2026-01-13 17:10:05 +01:00
random_list.list fuzz: extend fuzzing coverage 2023-09-16 11:26:11 +02:00
splt_param.txt fuzz: extend coverage (#2073) 2023-08-20 15:18:19 +02:00