Coder Social home page Coder Social logo

covfefuzz's Introduction

Covfefuzz

Experiments in compiler-provided coverage instrumentation for fuzzing long-running programs. All code should be considered work-in-progress.

Running it

Run make, then make fuzzy. To run it, first run your target program. In this instance, that will be ./target.

Get the SHMEM ID that the target creates for itself (TODO: make this process less awkward) and pass it as an argument to the fuzzer (which is a.out after you run make fuzzy, until I update the Makefile).

Other experiments

See (TODO: add the files) for stuff about hooking into AFL's coverage mechanism by grabbing __AFL_SHM_ID and attaching it yourself. This allows you to pass your own coverage information, possibly gathered from other sources.

This started out as an 'afl-client', which would connect to a long-running process and gather coverage information as it performs a specific action. I realised that there's no point using afl to do this, as I can use fsanitize=trace-pc instead. I'll throw the code up here anyway for prosterity, as it might interest others.

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.