pentoo-overlay/app-exploits/ropgadget/ropgadget-6.6.ebuild
2021-07-14 15:35:29 +08:00

23 lines
588 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1
DESCRIPTION="Search for gadgets in binaries to facilitate your ROP exploitation"
HOMEPAGE="https://github.com/JonathanSalwan/ROPgadget"
SRC_URI="https://github.com/JonathanSalwan/ROPgadget/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
SLOT="0"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-libs/capstone[python,${PYTHON_USEDEP}]"
S=${WORKDIR}/ROPgadget-${PV}