2017-02-16 22:40:17 +01:00
|
|
|
#!/bin/bash -ex
|
2015-06-19 11:48:15 -07:00
|
|
|
|
2015-12-09 14:42:41 -08:00
|
|
|
git clone --depth 1 https://github.com/codelion/pathgrind.git
|
2015-06-19 11:48:15 -07:00
|
|
|
cd pathgrind
|
2015-11-04 02:00:14 -08:00
|
|
|
git apply ../pathgrind.patch
|
2015-06-19 11:48:15 -07: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 18:36:40 -05:00
|
|
|
python fuzz/plotfuzz.py "\$@"
|
2015-06-19 11:48:15 -07:00
|
|
|
END
|
|
|
|
|
|
|
|
chmod 755 bin/pathgrind-*
|