This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 9c2d183df4 gnu: qemu-for-aflplusplus: Set absolute path to addr2line.
9c2d183df4 is described below

commit 9c2d183df4c050f2b7ff12bc68dccec3bc067809
Author: Nguyễn Gia Phong <[email protected]>
AuthorDate: Thu Aug 27 17:17:35 2026 +0900

    gnu: qemu-for-aflplusplus: Set absolute path to addr2line.
    
    * gnu/packages/debug.scm (qemu-for-aflplusplus)[arguments]<#:phases>:
      Add phase set-addr2line-path.
---
 gnu/packages/debug.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index 8787652a62..df3eb572fa 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -361,6 +361,12 @@ tool.")
           ((#:phases phases)
            #~(modify-phases #$phases
                (delete 'replace-firmwares)
+               (add-after 'unpack 'set-addr2line-path
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "accel/tcg/tcg-runtime.c"
+                     (("\"addr2line")
+                      (string-append
+                       "\"" (search-input-file inputs "bin/addr2line"))))))
                (delete 'patch-embedded-shebangs)
                (delete 'fix-optionrom-makefile)
                (delete 'disable-unusable-tests)
@@ -398,6 +404,7 @@ tool.")
                             (delete-file "tests/qemu-iotests/267"))))
                       '())))))
        (inputs (modify-inputs inputs
+                 (append gcc)
                  (delete "dtc")))
        (home-page "https://github.com/AFLplusplus/qemuafl";)
        (synopsis "QEMU for AFL++")))))

Reply via email to