python bindings for pin

This commit is contained in:
Yan 2015-05-08 01:50:50 -07:00
parent 657bc66fa4
commit f25b1d3191
2 changed files with 20 additions and 0 deletions

View file

@ -40,6 +40,7 @@ Installers for the following tools are included:
| binary | [villoc](https://github.com/wapiflapi/villoc) | Visualization of heap operations. |
| binary | [qemu](http://qemu.org) | Latest version of qemu! |
| binary | [pwntools](https://github.com/Gallopsled/pwntools) | Useful CTF utilities. |
| binary | [python-pin](https://github.com/blankwall/Python_Pin) | Python bindings for pin. |
| binary | [radare2](http://www.radare.org/) | Some crazy thing crowell likes. |
| binary | [shellnoob](https://github.com/reyammer/shellnoob) | Shellcode writing helper. |
| binary | [taintgrind](https://github.com/wmkhoo/taintgrind) | A valgrind taint analysis tool. |

19
python-pin/install Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash -e
curl https://software.intel.com/sites/landingpage/pintool/downloads/pin-2.14-71313-gcc.4.4.7-linux.tar.gz | tar xvz
export PIN_ROOT=$PWD/pin-2.14-71313-gcc.4.4.7-linux
git clone https://github.com/blankwall/Python_Pin.git
cd Python_Pin
make PIN_ROOT=$PIN_ROOT
cd ..
mkdir -p bin
cat <<END > bin/python-pin
#!/bin/bash -e
SCRIPT=\$1
shift
$PWD/pin-2.14-71313-gcc.4.4.7-linux/pin.sh -t $PWD/Python_Pin/obj-intel64/Python_Pin.so -m \$SCRIPT -- "\$@"
END
chmod 755 bin/python-pin