From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aMZaF+D6/V++OAAA0tVLHw (envelope-from ) for ; Tue, 12 Jan 2021 19:39:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cKoxE+D6/V9WWwAAB5/wlQ (envelope-from ) for ; Tue, 12 Jan 2021 19:39:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0EE31940105 for ; Tue, 12 Jan 2021 19:39:11 +0000 (UTC) Received: from localhost ([::1]:33958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzPVW-0001vM-LO for larch@yhetil.org; Tue, 12 Jan 2021 14:39:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzPVO-0001uS-9A for guix-patches@gnu.org; Tue, 12 Jan 2021 14:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49889) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzPVO-0003pv-1K for guix-patches@gnu.org; Tue, 12 Jan 2021 14:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzPVN-00055P-Vd for guix-patches@gnu.org; Tue, 12 Jan 2021 14:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45825] [PATCH] gnu: Add efi_analyzer. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Jan 2021 19:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45825 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45825@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161048028819454 (code B ref -1); Tue, 12 Jan 2021 19:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jan 2021 19:38:08 +0000 Received: from localhost ([127.0.0.1]:33195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzPUV-00053i-Kr for submit@debbugs.gnu.org; Tue, 12 Jan 2021 14:38:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:56218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzPUS-00053W-5s for submit@debbugs.gnu.org; Tue, 12 Jan 2021 14:38:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzPUQ-0001nm-E8 for guix-patches@gnu.org; Tue, 12 Jan 2021 14:38:03 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:46106) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzPUM-0003Gz-83 for guix-patches@gnu.org; Tue, 12 Jan 2021 14:38:02 -0500 Received: by mail-wr1-x42e.google.com with SMTP id d13so3706498wrc.13 for ; Tue, 12 Jan 2021 11:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7HLv8qiNZ1+tUIr+RLhiD/RNjtjjvoOc1hZEQJQd19Y=; b=d+4OIOuaEDzbT1Or7WYawGsEsKQm9E4efsiPT2bZx9XtgpV8CJpFqPYv8ZUXWEF2ie JnG7toxn49V4yCHPieDUngE+j/M6wzHRL0TZ7GRs1CGYwwoV33Mojd3R3iL3kMuLf0wc oDyZ4Q45DciiRv2jIYuna4Sga3dasaUbhiVPF66WZb6azm4adCHcup1uqvFYrV+MyV3v xvhxfwvPsHrSPuV7gijOuw7c31AnBCezwvHrHowtM9EX5mj/NAiYU404Szk2vYFHd2CK WQ41kDWwpTNxzHKJPXp+8qplzxkfeupMkddXPwh991ThaVbDTH4vQDA8GdsJ41aMCsbs X7hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7HLv8qiNZ1+tUIr+RLhiD/RNjtjjvoOc1hZEQJQd19Y=; b=VHkQjOcmHYxbxMgmKNSmbx0MP/vyfymBI5R1UO+7++Osnn9kgh4xLynFcm0FSF8RbB euVXYT2oG3q0t+PkbK24qx6pOr/hyW/TsMrFWHiCBayxMam9vSbHAPGDObfh43mcXLQR b47O5h25Xi2TA8IUaaeWGauqLYq3ZVmUmYzQmBj6e3eoMpjzgMVRYdV/JwscOTqGoJ5z 0N6SI28nBZkfuNPxY0GvPgXnOIZBWdml/DrdZAp/rE1lAj0NXvFBp4sH6p7La7w3svxh gBDy3E4A6+T5MXNnOpVu5+Pj+XVhPjaLXGnimgk6FW2IsUrrJaN/ZzKgxm8e6VAEG/eI Gi6g== X-Gm-Message-State: AOAM5307kdb9rY2G0jMdwA/R9eQMx5eScZdo2MrbK/oz3O1E3uv+5FBu rDIxTcmUUaeDLXSE94Rda1rDUJ5Ccnc= X-Google-Smtp-Source: ABdhPJxqAKqvZrcRVphOWG7S1fdxlMHzjBrfpTE4OyiZ+PDUUX8WFQSOeRzb7G4Un/JqRQ7rcT+qag== X-Received: by 2002:a5d:4101:: with SMTP id l1mr443161wrp.196.1610480276521; Tue, 12 Jan 2021 11:37:56 -0800 (PST) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id s25sm7001766wrs.49.2021.01.12.11.37.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 11:37:55 -0800 (PST) From: Vincent Legoll Date: Tue, 12 Jan 2021 20:37:47 +0100 Message-Id: <20210112193747.19460-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=vincent.legoll@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincent Legoll Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.74 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=d+4OIOua; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0EE31940105 X-Spam-Score: 2.74 X-Migadu-Scanner: scn1.migadu.com X-TUID: DJ1scFYDlPRV * gnu/packages/engineering.scm (efi_analyzer): New variable. --- gnu/packages/engineering.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 5166a4635c..1c001cbe0f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1580,6 +1580,33 @@ like relocation symbols. It is able to deal with malformed binaries, making it suitable for security research and analysis.") (license license:lgpl3))) +(define-public efi_analyzer + (let ((commit "77c9e3a67cd7c2fca48a4292dad25a5429872f95") + (revision "0")) + (package + (name "efi_analyzer") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xypron/efi_analyzer") + (commit commit))) + (sha256 + (base32 "1izdkzybqyvzpzqz6kx4j7y47j6aa2dsdrychzgs65466x1a4br1")) + (file-name (string-append name "-" version "-checkout")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure)) + #:make-flags (list "prefix=" (string-append "DESTDIR=" (assoc-ref %outputs "out"))))) + (home-page "https://github.com/xypron/efi_analyzer") + (synopsis "Analyze EFI binary") + (description + "The EFI Analyzer can be used to check EFI binaries and to print out header +and section information.") + (license license:bsd-2)))) + (define-public asco (package (name "asco") -- 2.30.0