googleprojectzero / winafl

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

When doing network fuzzing, does winafl allows us to fuzz function that calls the receive data function? #191

Open xinyile opened 5 years ago

xinyile commented 5 years ago

Hi,

I have a question on network fuzzing. Can I choose the target function that calls the receive data function? For example, I tried to fuzz test_netmode.exe (provided by WinAFL). When I set the target function as recv_func(), winafl works and can find crash. But if I set the target function as main(), It seems that winafl cannot work.

So my question is that does winafl allows us to fuzz function that calls the receive data function.

Thanks.

ifratric commented 5 years ago

+@mxmssh FYI

I think in theory it should be possible with some modifications to the code, but probably wouldn't work as is because:

xinyile commented 5 years ago

Thanks for your answer. Another question in my mind is that does winafl allow us to fuzz event-driven server.