mirror of
https://github.com/zardus/ctf-tools
synced 2025-03-13 21:37:04 +00:00
17 lines
394 B
Bash
Executable file
17 lines
394 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
PIN_NAME=pin-external-3.31-98869-gfa6f126a8-gcc-linux
|
|
curl https://software.intel.com/sites/landingpage/pintool/downloads/$PIN_NAME.tar.gz | tar xz
|
|
export PIN_ROOT=$PWD/$PIN_NAME
|
|
|
|
git clone --depth 1 https://github.com/wapiflapi/villoc
|
|
cd villoc/tracers/pintool
|
|
make PIN_ROOT=$PIN_ROOT
|
|
cd ../../
|
|
chmod 755 villoc.py
|
|
cd ..
|
|
|
|
mkdir -p bin
|
|
cd bin
|
|
ln -s ../villoc/villoc.py .
|
|
cd ..
|