summary refs log tree commit diff
path: root/pkgs/tools/security/afl
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-11-25 12:42:53 -0600
committerAustin Seipp <aseipp@pobox.com>2014-11-25 12:43:03 -0600
commitb0dc5b17cac02e50e5595f00b9f83ef0f913994e (patch)
tree46aefa023305582477a53426b016c419d69f98f4 /pkgs/tools/security/afl
parent49561b8b650606ecab2ae954cf7b4765e3885d4d (diff)
downloadnixlib-b0dc5b17cac02e50e5595f00b9f83ef0f913994e.tar
nixlib-b0dc5b17cac02e50e5595f00b9f83ef0f913994e.tar.gz
nixlib-b0dc5b17cac02e50e5595f00b9f83ef0f913994e.tar.bz2
nixlib-b0dc5b17cac02e50e5595f00b9f83ef0f913994e.tar.lz
nixlib-b0dc5b17cac02e50e5595f00b9f83ef0f913994e.tar.xz
nixlib-b0dc5b17cac02e50e5595f00b9f83ef0f913994e.tar.zst
nixlib-b0dc5b17cac02e50e5595f00b9f83ef0f913994e.zip
nixpkgs: American Fuzzy Lop
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/tools/security/afl')
-rw-r--r--pkgs/tools/security/afl/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/security/afl/default.nix b/pkgs/tools/security/afl/default.nix
new file mode 100644
index 000000000000..402071b61c80
--- /dev/null
+++ b/pkgs/tools/security/afl/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchurl, bash }:
+
+stdenv.mkDerivation rec {
+  name    = "afl-${version}";
+  version = "0.68b";
+
+  src = fetchurl {
+    url    = "http://lcamtuf.coredump.cx/afl/releases/${name}.tgz";
+    sha256 = "07z5lnkl82d6rpm63wr7lxs3g49wb7lw8zi9wwazzv2hi7l2vcs7";
+  };
+
+  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 ];
+  };
+}