#!/bin/bash -ex #move to ctftools virtual env - warning you'll have to activate the #virtualenv to use the scripts unless you install the pypl packages #outside the venv for Python 3 source ctf-tools-venv-activate3 pip install --upgrade nose pip install --upgrade pyyaml git clone --recursive https://github.com/pfalcon/ScratchABlock mkdir -p bin cd bin ln -s ../ScratchABlock/apply_xform.py ./scratchablock-apply_xform.py ln -s ../ScratchABlock/asmprinter.py ./scratchablock-asmprinter.py ln -s ../ScratchABlock/dump_c.py ./scratchablock-dump_c.py ln -s ../ScratchABlock/funcdb_dot.py ./scratchablock-funcdb_dot.py ln -s ../ScratchABlock/funcdb_util.py ./scratchablock-funcdb_util.py ln -s ../ScratchABlock/make_callgraph.sh ./scratchablock-make_callgraph.sh ln -s ../ScratchABlock/parse_asm.py ./scratchablock-parse_asm.py cd ..