honggfuzz: 2.5 -> 2.6

This commit is contained in:
Hubert Jasudowicz 2023-10-28 01:45:41 +02:00
parent b428e0002d
commit 4c8c08b3f5
2 changed files with 10 additions and 8 deletions

View File

@ -4,21 +4,20 @@
, makeWrapper
, clang
, llvm
# TODO: switch to latest versions when 2.6 release is out to include
# https://github.com/google/honggfuzz/commit/90fdf81006614664ef05e5e3c6f94d91610f11b2
, libbfd_2_38, libopcodes_2_38
, libbfd
, libopcodes
, libunwind
, libblocksruntime }:
stdenv.mkDerivation rec {
pname = "honggfuzz";
version = "2.5";
version = "2.6";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = version;
sha256 = "sha256-TkyUKmiiSAfCnfQhSOUxuce6+dRyMmHy7vFK59jPIxM=";
sha256 = "sha256-/ra6g0qjjC8Lo8/n2XEbwnZ95yDHcGhYd5+TTvQ6FAc=";
};
postPatch = ''
@ -30,7 +29,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ llvm ];
propagatedBuildInputs = [ libbfd_2_38 libopcodes_2_38 libunwind libblocksruntime ];
propagatedBuildInputs = [ libbfd libopcodes libunwind libblocksruntime ];
# Fortify causes build failures: 'str*' defined both normally and as 'alias' attribute
hardeningDisable = [ "fortify" ];
makeFlags = [ "PREFIX=$(out)" ];

View File

@ -1588,8 +1588,8 @@ with pkgs;
};
honggfuzz = callPackage ../tools/security/honggfuzz {
clang = clang_12;
llvm = llvm_12;
clang = clang_16;
llvm = llvm_16;
};
aflplusplus = callPackage ../tools/security/aflplusplus {