f*ckin travis
MODIFY
docs/ChangeLog
docs/ChangeLog
@@ -25,6 +25,8 @@ Version ++2.58d (dev):
- libcompcov floating point splitting support for qemu and unicorn
- Dockerfile by courtesy of devnexen
- ripped regex.dictionary from Google afl PR
+ - qemu and unicorn download scripts now try to download until the full
+ download succeeded. f*ckin travis fails downloading 40% of the time!
- removed unnecessary warnings

MODIFY
qemu_mode/build_qemu_support.sh
qemu_mode/build_qemu_support.sh
@@ -100,7 +100,10 @@ if [ ! "$CKSUM" = "$QEMU_SHA384" ]; then
echo "[*] Downloading QEMU ${VERSION} from the web..."
rm -f "$ARCHIVE"
- wget -O "$ARCHIVE" -- "$QEMU_URL" || exit 1
+ OK=
+ while [ -z "$OK" ]; do
+ wget -c -O "$ARCHIVE" -- "$QEMU_URL" && OK=1
+ done
CKSUM=`sha384sum -- "$ARCHIVE" 2>/dev/null | cut -d' ' -f1`

MODIFY
unicorn_mode/build_unicorn_support.sh
unicorn_mode/build_unicorn_support.sh
@@ -106,7 +106,10 @@ if [ ! "$CKSUM" = "$UNICORN_SHA384" ]; then
echo "[*] Downloading Unicorn v1.0.1 from the web..."
rm -f "$ARCHIVE"
- wget -O "$ARCHIVE" -- "$UNICORN_URL" || exit 1
+ OK=
+ while [ -z "$OK" ]; do
+ wget -c -O "$ARCHIVE" -- "$UNICORN_URL" && OK=1
+ done
CKSUM=`sha384sum -- "$ARCHIVE" 2>/dev/null | cut -d' ' -f1`

f*ckin travis