ctf-tools/scratchablock/install

23 lines
837 B
Text
Raw Normal View History

2017-04-23 16:04:40 +00:00
#!/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
2017-04-23 18:38:01 +00:00
2017-04-23 16:04:40 +00:00
git clone --recursive https://github.com/pfalcon/ScratchABlock
mkdir -p bin
cd bin
2017-04-23 18:00:03 +00:00
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
2017-04-23 16:04:40 +00:00
cd ..