From b2a1bf413b67da674d8199efde6b97b8e7fd5c42 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Thu, 1 Dec 2022 14:39:44 +0100 Subject: Remove some useless fuzzing target (#1813) We don't need specific targets to reproduce fuzzing issues. After all, calling `./fuzz/fuzz_process_packet_with_main $ARTIFACT_FILE` is equivalento to `./fuzz/fuzz_process_packet $ARTIFACT_FILE` --- README.fuzzer.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.fuzzer.md') diff --git a/README.fuzzer.md b/README.fuzzer.md index ae10357ac..d589ee25f 100644 --- a/README.fuzzer.md +++ b/README.fuzzer.md @@ -13,11 +13,11 @@ ## Testing nDPI with ClusterFuzz Artifacts - Download the artifact (example clusterfuzz-testcase-fuzz_process_packet-4992218834796544) - Run nDPI against the artifact - - Example: ./fuzz/fuzz_process_packet_with_main clusterfuzz-testcase-fuzz_process_packet-4992218834796544 + - Example: ./fuzz/fuzz_process_packet clusterfuzz-testcase-fuzz_process_packet-4992218834796544 The output is the error report ``` - ./fuzz/fuzz_process_packet_with_main /tmp/clusterfuzz-testcase-fuzz_process_packet-4992218834796544 + ./fuzz/fuzz_process_packet /tmp/clusterfuzz-testcase-fuzz_process_packet-4992218834796544 AddressSanitizer:DEADLYSIGNAL ================================================================= ==11590==ERROR: AddressSanitizer: SEGV on unknown address 0x61a100000087 (pc 0x00000056e6a4 bp 0x7ffd624fa170 sp 0x7ffd624fa090 T0) @@ -33,7 +33,7 @@ The output is the error report #8 0x4c709b in LLVMFuzzerTestOneInput /home/deri/nDPI/fuzz/fuzz_process_packet.c:30:3 #9 0x4c7640 in main /home/deri/nDPI/fuzz/fuzz_process_packet.c:90:17 #10 0x7f888e5dabf6 in __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:310 - #11 0x41c399 in _start (/home/deri/nDPI/fuzz/fuzz_process_packet_with_main+0x41c399) + #11 0x41c399 in _start (/home/deri/nDPI/fuzz/fuzz_process_packet+0x41c399) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /home/deri/nDPI/src/lib/protocols/quic.c:203:12 in quic_len -- cgit v1.2.3