mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 20:46:20 +00:00
Add PYC file format plugin
This commit is contained in:
parent
db00a291a5
commit
b858467162
17
binr/r2pm/d/pyc
Normal file
17
binr/r2pm/d/pyc
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
R2PM_BEGIN
|
||||||
|
|
||||||
|
R2PM_GIT "https://github.com/radare/radare2-extras"
|
||||||
|
R2PM_DESC "[r2-bin] PYC | Python byte-compiled file support"
|
||||||
|
|
||||||
|
R2PM_INSTALL() {
|
||||||
|
./configure --prefix="${R2PM_PREFIX}"
|
||||||
|
cd libr/bin/p
|
||||||
|
make bin_pyc.${LIBEXT}
|
||||||
|
cp -f bin_pyc.${LIBEXT} "${R2PM_PLUGDIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
R2PM_UNINSTALL() {
|
||||||
|
rm -f "${R2PM_PLUGDIR}"/*pyc*
|
||||||
|
}
|
||||||
|
|
||||||
|
R2PM_END
|
Loading…
x
Reference in New Issue
Block a user