1{ stdenv, buildPythonPackage, fetchPypi
2, capstone}:
3
4buildPythonPackage rec {
5 pname = "ROPGadget";
6 version = "6.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "02wgrdrg0s0cr9yjsb4945244m8x8rr8jzxr8h8c6k2na4d17xf4";
11 };
12
13 propagatedBuildInputs = [ capstone ];
14
15 meta = with stdenv.lib; {
16 description = "Tool to search for gadgets in binaries to facilitate ROP exploitation";
17 homepage = "http://shell-storm.org/project/ROPgadget/";
18 license = licenses.bsd3;
19 maintainers = with maintainers; [ bennofs ];
20 };
21}