ctf-tools/pathgrind/install

31 lines
514 B
Text
Raw Normal View History

2015-06-19 18:48:15 +00:00
#!/bin/bash -e
git clone --depth 1 https://github.com/codelion/pathgrind.git
2015-06-19 18:48:15 +00:00
cd pathgrind
2015-11-04 10:00:14 +00:00
git apply ../pathgrind.patch
2015-06-19 18:48:15 +00:00
./install.sh
chmod 755 fuzz/fuzz.py fuzz/gui.py fuzz/plotfuzz.py
cd ../
mkdir -p bin
cat <<END > bin/pathgrind-fuzz
#!/bin/sh
cd "$PWD/pathgrind/"
python fuzz/fuzz.py "\$@"
END
cat <<END > bin/pathgrind-gui
#!/bin/sh
cd "$PWD/pathgrind/"
python fuzz/gui.py "\$@"
END
cat <<END > bin/pathgrind-plot
#!/bin/sh
cd "$PWD/pathgrind/"
2016-03-08 23:36:40 +00:00
python fuzz/plotfuzz.py "\$@"
2015-06-19 18:48:15 +00:00
END
chmod 755 bin/pathgrind-*