Merge pull request #129411 from fabaff/bump-ropgadget

python3Packages.ropgadget: 6.5 -> 6.6
This commit is contained in:
Fabian Affolter 2021-11-29 08:54:00 +01:00 committed by GitHub
commit d32d3dd8ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 44 additions and 26 deletions

View File

@ -1,21 +0,0 @@
{ lib, buildPythonPackage, fetchPypi
, capstone}:
buildPythonPackage rec {
pname = "ROPGadget";
version = "6.6";
src = fetchPypi {
inherit pname version;
sha256 = "dc61186e0114ec67ec7ce374df8fd2ddc2a7cba129a1242338e900a7483fba22";
};
propagatedBuildInputs = [ capstone ];
meta = with lib; {
description = "Tool to search for gadgets in binaries to facilitate ROP exploitation";
homepage = "http://shell-storm.org/project/ROPgadget/";
license = licenses.bsd3;
maintainers = with maintainers; [ bennofs ];
};
}

View File

@ -6,7 +6,7 @@
, packaging
, pysocks
, pygments
, ROPGadget
, ropgadget
, capstone
, colored-traceback
, paramiko
@ -55,7 +55,7 @@ buildPythonPackage rec {
packaging
pysocks
pygments
ROPGadget
ropgadget
capstone
colored-traceback
paramiko

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, capstone
}:
buildPythonPackage rec {
pname = "ropgadget";
version = "6.6";
src = fetchFromGitHub {
owner = "JonathanSalwan";
repo = "ROPgadget";
rev = "v${version}";
sha256 = "1i0gx0cwhxk6d8byvck17hh83szz3k6ndd118ha3q0r0msap0lz1";
};
propagatedBuildInputs = [
capstone
];
# Test suite is working with binaries
doCheck = false;
pythonImportsCheck = [
"ropgadget"
];
meta = with lib; {
description = "Tool to search for gadgets in binaries to facilitate ROP exploitation";
homepage = "http://shell-storm.org/project/ROPgadget/";
license = licenses.bsd3;
maintainers = with maintainers; [ bennofs ];
};
}

View File

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, python3
, fetchFromGitHub
, makeWrapper
@ -13,7 +14,7 @@ let
pycparser
pyelftools
python-ptrace
ROPGadget
ropgadget
six
unicorn
pygments

View File

@ -3527,6 +3527,8 @@ with pkgs;
restream = callPackage ../applications/misc/remarkable/restream { };
ropgadget = with python3Packages; toPythonApplication ropgadget;
ryujinx = callPackage ../misc/emulators/ryujinx { };
scour = with python3Packages; toPythonApplication scour;

View File

@ -92,6 +92,7 @@ mapAliases ({
scikitlearn = scikit-learn; # added 2021-07-21
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
setuptools_scm = setuptools-scm; # added 2021-06-03
ROPGadget = ropgadget; # added 2021-07-06
smart_open = smart-open; # added 2021-03-14
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02

View File

@ -8336,7 +8336,7 @@ in {
rope = callPackage ../development/python-modules/rope { };
ROPGadget = callPackage ../development/python-modules/ROPGadget { };
ropgadget = callPackage ../development/python-modules/ropgadget { };
ropper = callPackage ../development/python-modules/ropper { };