cannot run winafl

695 views
Skip to first unread message

Thuan Pham

unread,
Oct 3, 2016, 6:24:24 AM10/3/16
to afl-users
Hello,
Has anyone played with winafl (https://github.com/ivanfratric/winafl)? I face some issue with it on Windows XP SP3 32-bit. I can compile it successfully but I cannot follow its README document to make it work.
Although I use the sample command (as shown below) to fuzz the example program (winafl\bin32\test_gdiplus.exe), winafl always report that the parameters are incorrect. I have read the source code and have not seen any incorrect/missing parameters.

afl-fuzz.exe -i in -o out -D C:\winafl\DynamoRIO\bin34 -t 20000 --
-coverage_module gdiplus.dll -coverage_module WindowsCodecs.dll
-fuzz_iterations 5000 -target_module test_gdiplus.exe -target_offset 0x1270
-nargs 2 -- test_gdiplus.exe @@

Any suggestions?
Thanks,
Thuan

Thuan Pham

unread,
Oct 3, 2016, 6:26:22 AM10/3/16
to afl-users
Sorry, there is a typo -- bin34 should be bin32

afl-fuzz.exe -i in -o out -D C:\winafl\DynamoRIO\bin32 -t 20000 --
-coverage_module gdiplus.dll -coverage_module WindowsCodecs.dll
-fuzz_iterations 5000 -target_module test_gdiplus.exe -target_offset 0x1270
-nargs 2 -- test_gdiplus.exe @@

ifra...@google.com

unread,
Oct 4, 2016, 10:41:53 AM10/4/16
to afl-users
Hi Thaun, the target_offset you see in the example is for the 64-bit build of test_gdiplus and will most likely be different for the 32-bit build. Before running WinAFL you should always run the debug mode (-debug flag) first and fix any errors it reports.

teach...@gmail.com

unread,
Jun 1, 2017, 5:16:06 PM6/1/17
to afl-users
Hello
I want to fuzzing winrar.exe with DynamoRIO in windows 64bit
but i can't do this

please say the correct command.
tanx
Reply all
Reply to author
Forward
0 new messages