about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2023-01-27 01:33:05 +0100
committerDominik Maier <domenukk@gmail.com>2023-01-27 01:33:05 +0100
commit5db7be5ee2e2fe43d50576c25d90a215166dd28b (patch)
treee9b34ae11ae45be2e62144ed82110add2a4d2818
parent614265897cd67436deb6608673aa4a3ac7e91a9f (diff)
downloadafl++-5db7be5ee2e2fe43d50576c25d90a215166dd28b.tar.gz
Updated unicorn, added while to build sh
-rwxr-xr-xunicorn_mode/build_unicorn_support.sh10
m---------unicorn_mode/unicornafl0
2 files changed, 6 insertions, 4 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh
index f20f52ef..53ec2481 100755
--- a/unicorn_mode/build_unicorn_support.sh
+++ b/unicorn_mode/build_unicorn_support.sh
@@ -121,17 +121,19 @@ PIP_FOUND=0
 for PYTHON in $PYTHONS ; do
 
   if $PYTHON -c "import pip" ; then
+    if $PYTHON -c "import wheel" ; then
 
-    PIP_FOUND=1
-    PYTHONBIN=$PYTHON
-    break
+      PIP_FOUND=1
+      PYTHONBIN=$PYTHON
+      break
 
+    fi
   fi
 
 done
 if [ "0" = $PIP_FOUND ]; then
 
-  echo "[-] Error: Python pip not found. Run 'sudo apt-get install python-pip', or install python3-pip, or run '$PYTHONBIN -m ensurepip', or create a virtualenv, or ..."
+  echo "[-] Error: Python pip or python wheel not found. Run 'sudo apt-get install python3-pip', or run '$PYTHONBIN -m ensurepip', or create a virtualenv, or ... - and 'pip3 install wheel'"
   PREREQ_NOTFOUND=1
 
 fi
diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl
-Subproject 8c66300a5059872d1843fe390390d7988ce475c
+Subproject f2cede37a75bbd4a9b9438f0277727b5d462057