radare2/sys/python-r2pipe.sh
pancake c37806c16a Add sys/python-r2pipe.sh
from r2pipe import r2pipe
	r = r2pipe("/bin/ls")
	print(r.cmdj("ij")["bin"]["arch"]
2015-01-03 03:00:53 +01:00

14 lines
188 B
Bash
Executable File

#!/bin/sh
cd `dirname $PWD/$0`
./clone-r2-bindings.sh
cd ..
. ./sys/CONFIG
echo =============
cat sys/CONFIG
echo =============
cd radare2-bindings
cd r2pipe/python
${SUDO} make install