diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-05-28 00:47:00 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-05-28 00:47:00 +0200 |
commit | 01e26ef209f1dabca18efa8905936394171ccd22 (patch) | |
tree | 3528ef793f40f491848a59ce2de9c8367fd95c09 /pkgs/tools/security/honggfuzz | |
parent | 1c3d61e8aaeb5dd271d624df74625157008b92f9 (diff) |
honggfuzz: remove unused let in
Diffstat (limited to 'pkgs/tools/security/honggfuzz')
-rw-r--r-- | pkgs/tools/security/honggfuzz/default.nix | 90 |
1 files changed, 44 insertions, 46 deletions
diff --git a/pkgs/tools/security/honggfuzz/default.nix b/pkgs/tools/security/honggfuzz/default.nix index c6276eb56ca02..300e41750babe 100644 --- a/pkgs/tools/security/honggfuzz/default.nix +++ b/pkgs/tools/security/honggfuzz/default.nix @@ -1,51 +1,49 @@ { lib, stdenv, fetchFromGitHub, callPackage, makeWrapper, clang, llvm, libbfd , libopcodes, libunwind, libblocksruntime }: -let - honggfuzz = stdenv.mkDerivation rec { - pname = "honggfuzz"; - version = "2.5"; - - src = fetchFromGitHub { - owner = "google"; - repo = pname; - rev = version; - sha256 = "sha256-TkyUKmiiSAfCnfQhSOUxuce6+dRyMmHy7vFK59jPIxM="; - }; - - postPatch = '' - substituteInPlace hfuzz_cc/hfuzz-cc.c \ - --replace '"clang' '"${clang}/bin/clang' - ''; +stdenv.mkDerivation rec { + pname = "honggfuzz"; + version = "2.5"; + + src = fetchFromGitHub { + owner = "google"; + repo = pname; + rev = version; + sha256 = "sha256-TkyUKmiiSAfCnfQhSOUxuce6+dRyMmHy7vFK59jPIxM="; + }; - enableParallelBuilding = true; - - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ llvm ]; - propagatedBuildInputs = [ libbfd libopcodes libunwind libblocksruntime ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = { - description = - "A security oriented, feedback-driven, evolutionary, easy-to-use fuzzer"; - longDescription = '' - Honggfuzz is a security oriented, feedback-driven, evolutionary, - easy-to-use fuzzer with interesting analysis options. It is - multi-process and multi-threaded, blazingly fast when the persistent - fuzzing mode is used and has a solid track record of uncovered security - bugs. - - Honggfuzz uses low-level interfaces to monitor processes and it will - discover and report hijacked/ignored signals from crashes. Feed it - a simple corpus directory (can even be empty for the feedback-driven - fuzzing), and it will work its way up, expanding it by utilizing - feedback-based coverage metrics. - ''; - homepage = "https://honggfuzz.dev/"; - license = lib.licenses.asl20; - platforms = [ "x86_64-linux" ]; - maintainers = with lib.maintainers; [ cpu chivay ]; - }; + postPatch = '' + substituteInPlace hfuzz_cc/hfuzz-cc.c \ + --replace '"clang' '"${clang}/bin/clang' + ''; + + enableParallelBuilding = true; + + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ llvm ]; + propagatedBuildInputs = [ libbfd libopcodes libunwind libblocksruntime ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = { + description = + "A security oriented, feedback-driven, evolutionary, easy-to-use fuzzer"; + longDescription = '' + Honggfuzz is a security oriented, feedback-driven, evolutionary, + easy-to-use fuzzer with interesting analysis options. It is + multi-process and multi-threaded, blazingly fast when the persistent + fuzzing mode is used and has a solid track record of uncovered security + bugs. + + Honggfuzz uses low-level interfaces to monitor processes and it will + discover and report hijacked/ignored signals from crashes. Feed it + a simple corpus directory (can even be empty for the feedback-driven + fuzzing), and it will work its way up, expanding it by utilizing + feedback-based coverage metrics. + ''; + homepage = "https://honggfuzz.dev/"; + license = lib.licenses.asl20; + platforms = [ "x86_64-linux" ]; + maintainers = with lib.maintainers; [ cpu chivay ]; }; -in honggfuzz +} |