Giter VIP home page Giter VIP logo

afl_func's Introduction

A work on AFL by guiding fuzzer with function relevance.

To Compile AFL:

cd /path/to/afl
make; cd llvm_mode/; make

To Compile the test subject:

CC=/path/to/afl/afl-clang-fast ./configure; make
python util/FInfo.py FInfo.txt FInfo-pre.txt

To run afl:

/path/to/afl/afl-fuzz -i /input/dir/ -o /output/dir/ -F FInfo-pre.txt -I 0 -- /subject/executable @@

To compile SIR benchmark programs with argument fuzzing, add:

#include "/path/to/afl/experimental/argv_fuzzing/argv-fuzz-inl.h"

to the file containig main(), add :

AFL_INIT_SIR();

near the very beginning of main().

Then, compile with afl-clang-fast, preprocess FInfo.txt with FInfo.py, run afl:

/path/to/afl/afl-fuzz -i /input/dir/ -o /output/dir/ -F FInfo-pre.txt -I 0 ./subject/executable
==================
american fuzzy lop
==================

  Written and maintained by Michal Zalewski <[email protected]>

  Copyright 2013, 2014, 2015, 2016 Google Inc. All rights reserved.
  Released under terms and conditions of Apache License, Version 2.0.

  For new versions and additional information, check out:
  http://lcamtuf.coredump.cx/afl/

  To compare notes with other users or get notified about major new features,
  send a mail to <[email protected]>.

afl_func's People

Contributors

lockone avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.