winafl
winafl copied to clipboard
PROGRAM ABORT : No instrumentation detected
afl-fuzz.exe -i ..\testcases\tests -o ..\out -D C:\DynamoRIO\bin32 -t 10000+ -- -coverage_module AppShieldDLL.dll -fuzz_iterations 5000 -target_module HncAppShield.exe -target_method fuzz_hwp -nargs 1 -- .\HncAppShield.exe @@
WinAFL 1.16b by <[email protected]>
Based on AFL 2.43b by [email protected] [+] You have 2 CPU cores and 0 runnable tasks (utilization: 0%). [+] Try parallel jobs - see docs\parallel_fuzzing.txt. [*] Checking CPU core loadout... [+] Found a free CPU core, binding to #0. [*] Setting up output directories... [+] Output directory exists but deemed OK to reuse. [*] Deleting old session data... [+] Output dir cleanup successful. [*] Scanning '..\testcases\tests'... [+] No auto-generated dictionary tokens to reuse. [*] Creating hard links for all input files... [*] Attempting dry run with 'id_000000'...
[-] PROGRAM ABORT : No instrumentation detected Location : perform_dry_run(), c:\work\winafl\source\afl-fuzz.c:3026
I've tried SO many different ways to get to this to work for hours, keep getting the same error. HncAppShield.exe is compiled with VC++
This error usually means that the coverage map is empty, usually because either -coverage_module is incorrect or the module specified (AppShieldDLL.dll in your case) isn't reached during sample processing.
I would go back to the debug mode, check that there is AppShieldDLL.dll in the log, check if the coverage map in the log is empty and also check if that module is used for sample processing. If AppShieldDLL.dll is used for processing of some samples, but not all of them, then another -coverage_module should be added that is used for all samples (HncAppShield.exe?)