Program fuzzer
Introduction
Very WIP/PoC code. Proceed with caution.
Many thanks to lcamtuf, the AFL people, John Regehr and the C-Reduce people, and the GCC people.
Usage
- Download AFL to the current directory.
- Build it.
- Build your compiler using
afl-gcc
. - Change
$AFL_PATH
inmake.sh
if necessary. - Look for
execlp
inmain.cc
and point it to your instrumented compiler. - Run
make.sh
. - Run
./main
.
License
The project includes snippets from AFL (Apache 2.0) and gcc (GPL 3), therefore this project is naturally GPL 3 as well.
Reported bugs
GCC:
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84576
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84585
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84590
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84593
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84596
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84598
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84602
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84605
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84606
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84608
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84609
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84610
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84611
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84618
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84630
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84632
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84633
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84636
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84638
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84642
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84644
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84647
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84651
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84652
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84653
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84662
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84663
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84664
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84668
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84676
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84677
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84679
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84680
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84682
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84683
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84691
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84694
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84702
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84703
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84704
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84705
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84707
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84708
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84714
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84720
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84724
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84728
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84729
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84730
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84742
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84745
Clang: