Search code examples
fuzzing

How do you instrument binaries for afl fuzzing?


I'm trying to fuzz with afl, and its telling me to instrument the binary or just run a dumb fuzzer. How do Instrument the binary?


Solution

  • To fuzz a binary you should re-compile it's source-code with either afl-gcc (for C-code) or afl-g++ (for C++-code).

    You can find more info here.