1{ stdenv, buildPythonPackage, fetchPypi
2, capstone}:
3
4buildPythonPackage rec {
5 pname = "ROPGadget";
6 version = "6.3";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "0v34w88if3p4vn46aby24msfnxj6znmkf4848n4d24jnykxcsqk9";
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}