Open JeySamir opened 4 years ago
I had the same problem with another application. This is due to this line in afl client: https://github.com/googleprojectzero/winafl/blob/a3200244a03cbcf9cd696bf9fbacb2c0c4953313/winafl.c#L230. Try to comment it out and rebuild winafl. By now I don't understand why this line is here.
Hello. The application crashes when I try to make sure that the target is working correctly under DynamoRIO with -c WinAFL.dll client module. I try this:
D:/.../DynamoRIO-Windows-7.91.18151-0/bin64/drrun.exe -c winafl.dll -debug -target_module UnityPlayer.dll -target_offset 0x87DB90 -coverage_module UnityPlayer.dll -fuzz_iterations 10 -nargs 1 -- SCPSL.exe -batchmode -nographics
By running the same thing and connecting the debugger to the application, I get an exception in different places where there is an attempt to write some data to a segment that does not have write permissions:
00007FF7752195D0 movaps xmmword ptr [**rcx**-10h], xmm0 <==== Exception here
Address 0x203B256EC30 belongs to a segment with a base address of 0x203b2560000, which doesn't have write permission.
As a result, I get exception code c0000005 (ACCESS VIOLATION).
afl.SCPSL.exe.17084.0000.proc.log
I don't get any crash when I try this:
D:/0my/src/DynamoRIO-Windows-7.91.18151-0/bin64/drrun.exe -- SCPSL.exe -batchmode -nographics
Not sure if the problem is WinAFL, DynamoRIO or something else.
Versions:
Windows 10 Pro version 10.0.18362 build 18362 DynamoRIO-Windows-7.91.18151-0 MSVC 10.0.18362.0