googleprojectzero / winafl

A fork of AFL for fuzzing Windows binaries
Apache License 2.0
2.36k stars 533 forks source link

WinAFL internal crash #443

Open functionmain opened 5 months ago

functionmain commented 5 months ago

error4

I compiled WinAfl using DynamoRIO Windows 8.0.0.0-1 cmake and encountered the error shown in the figure during testing on x86。

command: C:\winafl_learning\DynamoRIO_Windows_8_0_release\bin32\drrun.exe -c winafl.dll -debug -target_module test_gdiplus.exe -target_offset 0x10b0 -fuzz_iterations 5 -nargs 2 -- test_gdiplus.exe 1.bmp

functionmain commented 5 months ago

I compiled WinAfl using the following command: mkdir build32 cd build32 cmake -G"Visual Studio 16 2019" -A Win32 .. -DDynamoRIO_DIR=C:\Users\1\Desktop\fuzzing\winafl_learning\DynamoRIO_Windows_8_0_release\cmake -DINTELPT=1 -DUSE_COLOR=1 cmake --build . --config Release

ifratric commented 5 months ago

DynamoRIO 8.0.0.0 is quite old at this point. You should always get the latest DR build from https://github.com/DynamoRIO/dynamorio/releases.