From patchwork Tue Oct 5 23:08:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33633 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1C50C27BBE3; Wed, 6 Oct 2021 00:10:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D5F0827BBE1 for ; Wed, 6 Oct 2021 00:10:18 +0100 (BST) Received: from localhost ([::1]:47654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXtZh-00060E-Oc for patchwork@mira.cbaines.net; Tue, 05 Oct 2021 19:10:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXtZS-000605-SQ for guix-patches@gnu.org; Tue, 05 Oct 2021 19:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXtZS-0007uI-JW for guix-patches@gnu.org; Tue, 05 Oct 2021 19:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXtZS-0001Ua-8s for guix-patches@gnu.org; Tue, 05 Oct 2021 19:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51047] Subject: [PATCH] gnu: Add python-ropgadget. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 23:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51047 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51047@debbugs.gnu.org X-Debbugs-Original-To: phodina via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.16334753625681 (code B ref -1); Tue, 05 Oct 2021 23:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 23:09:22 +0000 Received: from localhost ([127.0.0.1]:42073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXtYn-0001TX-Vs for submit@debbugs.gnu.org; Tue, 05 Oct 2021 19:09:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:51062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXtYa-0001T8-Aa for submit@debbugs.gnu.org; Tue, 05 Oct 2021 19:09:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXtYZ-0005xx-T5 for guix-patches@gnu.org; Tue, 05 Oct 2021 19:09:08 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:55315) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXtYX-0004fq-Mo for guix-patches@gnu.org; Tue, 05 Oct 2021 19:09:07 -0400 Date: Tue, 05 Oct 2021 23:08:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633475342; bh=2pUeVrjgFgLuBm+y0YkaWQ1pR64tE1w1O+IkNu1wgO4=; h=Date:To:From:Reply-To:Subject:From; b=PSJzxGUkH5a7gdZ/pFEDuBA3Whq4VFaQ56AGhsUG3a63si49zBsq81m4K26Idguyt +iV3TjKuDDwh/47pAtm3SDO03nopCZaJyzKc79Z0jAvzYn0SqFT/exFu0AHwBvzBPc lmVaIstzFBpvJNkaUyTn6kmwyPgB4k0lJ3aeRNBI= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@protonmail.com; helo=mail-4322.protonmail.ch 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi, I had to put this package into engineering.scm as it depends on python-capstone and therefore placing it into python-xyz.scm and importing engineering creates circular dependency. Petr --8<---------------cut here---------------start------------->8--- * gnu/packages/python-xyz.scm (python-ropgadget): New variable. --- 2.32.0 diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 073d524955..f891b25696 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1595,6 +1595,26 @@ bindings for Python, Java, OCaml and more.") bootloader in Espressif ESP8266 & ESP32 series chips.") (license license:gpl2+))) +(define-public python-ropgadget + (package + (name "python-ropgadget") + (version "6.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ROPGadget" version)) + (sha256 + (base32 + "08ms7x4af07970ij9899l75sghnxsa7xyx73gkn6gv0l05p1hqfw")))) + (build-system python-build-system) + (propagated-inputs + `(("python-capstone" ,python-capstone))) + (home-page "https://github.com/JonathanSalwan/ROPgadget") + (synopsis "Search binaries to facilitate ROP exploitation") + (description "This tool lets you search your gadgets on binaries +to facilitate your ROP exploitation.") + (license license:bsd-3))) + (define-public radare2 (package (name "radare2")