aflplusplus: 4.32c -> 4.34c

This commit is contained in:
Moritz Sanft
2025-10-10 08:26:40 +02:00
parent daebeba791
commit 57f8b4a86d
2 changed files with 6 additions and 7 deletions

View File

@@ -37,13 +37,13 @@ let
libtokencap = callPackage ./libtokencap.nix { inherit aflplusplus; };
aflplusplus = stdenvNoCC.mkDerivation rec {
pname = "aflplusplus";
version = "4.32c";
version = "4.34c";
src = fetchFromGitHub {
owner = "AFLplusplus";
repo = "AFLplusplus";
tag = "v${version}";
hash = "sha256-Fhf7dHyHd8IGXq7t1y9TwN9VN8SckLRkgfGGMvmqIqk=";
hash = "sha256-ymHt746cuZ+jyWs0vB3R1qNgpgAu6pUVXp9/g9Km9JI=";
};
enableParallelBuilding = true;
@@ -81,7 +81,8 @@ let
--replace-fail "CLANG_BIN" '"${clang}/bin/clang"' \
--replace-fail '"gcc"' '"${gcc}/bin/gcc"' \
--replace-fail '"g++"' '"${gcc}/bin/g++"' \
--replace-fail 'getenv("AFL_PATH")' "(getenv(\"AFL_PATH\") ? getenv(\"AFL_PATH\") : \"$out/lib/afl\")"
--replace-fail 'getenv("AFL_PATH")' "(getenv(\"AFL_PATH\") ? getenv(\"AFL_PATH\") : \"$out/lib/afl\")" \
--replace-fail '#ifndef "${clang}/bin/clang"' '#ifndef CLANG_BIN'
substituteInPlace src/afl-ld-lto.c \
--replace-fail 'LLVM_BINDIR' '"/nixpkgs-patched-does-not-exist"'

View File

@@ -25,10 +25,8 @@ stdenv.mkDerivation {
src = fetchFromGitHub {
owner = "AFLplusplus";
repo = "qemuafl";
# Use a fixed qemuafl version instead of the one in https://github.com/AFLplusplus/AFLplusplus/blob/v4.31c/qemu_mode/QEMUAFL_VERSION.
# See: https://github.com/AFLplusplus/AFLplusplus/issues/2296.
rev = "ef1cd9a8cb1522c918faab42805216f9a4054dda";
hash = "sha256-tbKDnDoBtFhvtE9nbi9XuHPuFuGezUFngnw4pJyKFgY=";
rev = "0732e079ed3716ef0b81e708cd9dcd372238a07f";
hash = "sha256-YoMHnJuyOdGcFVrY0I0Oja0qKNKdAa25RByVB5ui2do=";
fetchSubmodules = true;
};