Giter VIP home page Giter VIP logo

Comments (2)

ivanfratric avatar ivanfratric commented on July 24, 2024

Nice catch! This indeed looks like a bug.

Unfortunately I'm travelling for another week or so and don't have my Windows machine with me, so realistically I'm going to release a new version with the fix on the week of August 22.

Without updating the previous_offset, what we are getting out of WinAFL is essentially basic block coverage instead of edge coverage, so it's not a complete disaster but certainly not what the author intended :-)

from winafl.

ivanfratric avatar ivanfratric commented on July 24, 2024

The good news is that this is now fixed and edge coverage seems to be working.

The bad news is that edge coverage doesn't behave as well as expected, apparently through no fault of WinAFL. The problem is that if any of the coverage modules executes two or more threads at the same time, every new context switch is going to be (wrongly) interpreted as new coverage. For example, test_gdiplus fuzz in edge coverage mode is quickly going to produce hundreds of new samples, when in reality only few of those are going to contain new coverage. This is unfortunate because on a casual look the app doesn't appear to require multiple threads. On the other hand, a more simple test.exe fuzz is going to run equally well in both bb and edge coverage mode.

As a result of this I decided to use bb mode as the default, in order for the default settings to work well for more applications (this can be changed by setting the -covtype edge instrumentation flag, of course).

from winafl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.