Closed donghyunlee00 closed 2 years ago
in -coverage_module
, you should just put the name of the dll, not the full path. Not sure if that's the only error though.
It works with this command, thanks!!
.\afl-fuzz.exe -i C:\Users\donghyunlee00\Desktop\in -o C:\Users\donghyunlee00\Desktop\out -t 10000 -D C:\Users\donghyunlee00\Desktop\DynamoRIO-Windows-9.0.19012\bin32 -- -fuzz_iterations 5000 -coverage_module WinRARHarness.exe -coverage_module UNACEV2.DLL -target_module WinRARHarness.exe -target_method fuzzme -nargs 1 -- "C:\Users\donghyunlee00\source\repos\WinRARHarness\Debug\WinRARHarness.exe" "@@"
Background
After reading this article, I tried to fuzz the UNACEV2.DLL of WinRAR 3.20.
I created a test harness for UNACEV2.DLL as below.
WinRARHarness.cpp
When I tested it with
drrun.exe
, it seemed to work well.Problem
When I run
afl-fuzz.exe
, the following error message appears and fuzzing does not proceed.Version