2014-11-25 18:42:53 +00:00
|
|
|
{ stdenv, fetchurl, bash }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "afl-${version}";
|
2015-01-23 16:45:52 +00:00
|
|
|
version = "1.21b";
|
2014-11-25 18:42:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://lcamtuf.coredump.cx/afl/releases/${name}.tgz";
|
2015-01-23 16:45:52 +00:00
|
|
|
sha256 = "1j3857947lyr0j6jjdrx1mrdqpgi7fnfysxlycxb61xyg4av0k30";
|
2014-11-25 18:42:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = "make PREFIX=$out";
|
|
|
|
installPhase = "make install PREFIX=$out";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Powerful fuzzer via genetic algorithms and instrumentation";
|
|
|
|
longDescription = ''
|
|
|
|
American fuzzy lop is a fuzzer that employs a novel type of
|
|
|
|
compile-time instrumentation and genetic algorithms to
|
|
|
|
automatically discover clean, interesting test cases that
|
|
|
|
trigger new internal states in the targeted binary. This
|
|
|
|
substantially improves the functional coverage for the fuzzed
|
|
|
|
code. The compact synthesized corpora produced by the tool are
|
|
|
|
also useful for seeding other, more labor or resource-intensive
|
|
|
|
testing regimes down the road.
|
|
|
|
'';
|
|
|
|
homepage = "http://lcamtuf.coredump.cx/afl/";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|