undo tmp changes in unicorn_mode

This commit is contained in:
Dominik Maier
2022-09-15 15:50:51 +02:00
parent 8e3aee8a1a
commit 2125950a81

View File

@ -156,9 +156,9 @@ echo "[*] Making sure unicornafl is checked out"
git status 1>/dev/null 2>/dev/null git status 1>/dev/null 2>/dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "[*] initializing unicornafl submodule" echo "[*] initializing unicornafl submodule"
#git submodule init || exit 1 git submodule init || exit 1
#git submodule update ./unicornafl 2>/dev/null # ignore errors git submodule update ./unicornafl 2>/dev/null # ignore errors
#git submodule sync ./unicornafl 2>/dev/null # ignore errors git submodule sync ./unicornafl 2>/dev/null # ignore errors
else else
echo "[*] cloning unicornafl" echo "[*] cloning unicornafl"
test -d unicornafl/.git || { test -d unicornafl/.git || {
@ -177,8 +177,8 @@ echo "[+] Got unicornafl."
cd "unicornafl" || exit 1 cd "unicornafl" || exit 1
echo "[*] Checking out $UNICORNAFL_VERSION" echo "[*] Checking out $UNICORNAFL_VERSION"
git pull git pull
#sh -c 'git stash && git stash drop' 1>/dev/null 2>/dev/null sh -c 'git stash && git stash drop' 1>/dev/null 2>/dev/null
#git checkout "$UNICORNAFL_VERSION" || exit 1 git checkout "$UNICORNAFL_VERSION" || exit 1
echo "[*] making sure afl++ header files match" echo "[*] making sure afl++ header files match"
cp "../../include/config.h" "./include" || exit 1 cp "../../include/config.h" "./include" || exit 1