git.iko.soy/typeable/nixpkgs
on master help sign in
nixpkgs: American Fuzzy Lop

Signed-off-by: Austin Seipp <aseipp@pobox.com>

commitb0dc5b17cac02e50e5595f00b9f83ef0f913994e authorAustin Seipp <aseipp@pobox.com> dateTue 25 Nov 2014, 12:42 (12 years ago) parent49561b8
2 files changed+34
pkgs/tools/security/afl/default.nix+32 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/afl/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ stdenv, fetchurl, bash }:
2+
3+stdenv.mkDerivation rec {
4+ name = "afl-${version}";
5+ version = "0.68b";
6+
7+ src = fetchurl {
8+ url = "http://lcamtuf.coredump.cx/afl/releases/${name}.tgz";
9+ sha256 = "07z5lnkl82d6rpm63wr7lxs3g49wb7lw8zi9wwazzv2hi7l2vcs7";
10+ };
11+
12+ buildPhase = "make PREFIX=$out";
13+ installPhase = "make install PREFIX=$out";
14+
15+ meta = {
16+ description = "Powerful fuzzer via genetic algorithms and instrumentation";
17+ longDescription = ''
18+ American fuzzy lop is a fuzzer that employs a novel type of
19+ compile-time instrumentation and genetic algorithms to
20+ automatically discover clean, interesting test cases that
21+ trigger new internal states in the targeted binary. This
22+ substantially improves the functional coverage for the fuzzed
23+ code. The compact synthesized corpora produced by the tool are
24+ also useful for seeding other, more labor or resource-intensive
25+ testing regimes down the road.
26+ '';
27+ homepage = "http://lcamtuf.coredump.cx/afl/";
28+ license = stdenv.lib.licenses.asl20;
29+ platforms = stdenv.lib.platforms.linux;
30+ maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
31+ };
32+}
pkgs/top-level/all-packages.nix+2
@@ -465,6 +465,8 @@ let
465465
466466 aescrypt = callPackage ../tools/misc/aescrypt { };
467467
468+ afl = callPackage ../tools/security/afl { };
469+
468470 ahcpd = callPackage ../tools/networking/ahcpd { };
469471
470472 aide = callPackage ../tools/security/aide { };