winafl
winafl copied to clipboard
PROGRAM ABORT : Unexpected result from pipe! expected 'P', instead received ''
hello,admin ,there is a issues when i use winafl-cmin.py, my script is : >C:\Users\X\AppData\Local\Python27\python.exe winafl-cmin.py --working-dir C:\Users\X\Desktop\winafl\build64\bin\Debug -D C:\Users\X\AppData\Local\DynamoRIO-Windows-10.0.19672\bin64 -t 100000 -i C:\Users\X\Desktop\winafl\testcases\corps-objs -o C:\Users\X\Desktop\winafl\testcases\corps-objs-simplify -coverage_module test.exe -target_module test.exe -target_method main -nargs 2 -- test.exe @@
so my DynamoRIO version: 10.0.19672 fuzzed target: x64 winafl build arch:x64 with intel pt, (git submodule update -- init --recursive) windows version: win10 22h2 19045.3086 the output log is : corpus minimization tool for WinAFL by [email protected] Based on WinAFL by [email protected] Based on AFL by [email protected] [+] CWD changed to C:\Users\X\Desktop\winafl\build64\bin\Debug. [*] Testing the target binary...
[-] PROGRAM ABORT : Unexpected result from pipe! expected 'P', instead received ''
Location : run_target(), C:\Users\X\Desktop\winafl\afl-showmap.c:715
the issue occur immediately before i can see the fuzzing static information
and what's more, if I fuzz it directly ,it will show: C:\Users\X\Desktop\winafl\build64\bin\Debug\afl-fuzz.exe -i C:\Users\X\Desktop\winafl\testcases\corps-objs -o -debug .\output\fuzzobj -D C:\Users\X\AppData\Local\DynamoRIO-Windows-10.0.19672\bin64 -t 200000 -- -coverage_module test.exe -fuzz_iterations 5000 -target_module test.exe -target_method main -nargs 2 -- test.exe @@ WinAFL 1.16 by [email protected] Based on AFL 2.43b by [email protected] [+] You have 12 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 'C:\Users\X\Desktop\winafl\testcases\corps-objs'... [+] No auto-generated dictionary tokens to reuse. [] Creating hard links for all input files... [] Attempting dry run with 'id_000000'...
and then, it will stuck at [*] Attempting dry run with 'id_000000'... until timeout occur. and i can't see any debug log,,
can you give some hint? i stuck at here for a long time
Please see https://github.com/googleprojectzero/winafl/blob/master/readme_dr.md#:~:text=Example%20command%20line%3A&text=Example%20command%20line%3A for an example using the debug mode. It's used by invoking drrun.exe directly, not using afl-fuzz.exe.