From f2efea4b46584b134bf9016f24548d07934b6632 Mon Sep 17 00:00:00 2001
From: Dominik Maier <domenukk@gmail.com>
Date: Wed, 1 Jul 2020 16:05:04 +0200
Subject: [PATCH] Revert "Revert "updated unicorn version""

This reverts commit 857046ede5a7bd54a725bfd4367de55011cca94d.
---
 unicorn_mode/UNICORNAFL_VERSION           | 2 +-
 unicorn_mode/samples/persistent/harness.c | 2 +-
 unicorn_mode/unicornafl                   | 2 +-
 unicorn_mode/update_uc_ref.sh             | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/unicorn_mode/UNICORNAFL_VERSION b/unicorn_mode/UNICORNAFL_VERSION
index 21a8657d..02736b77 100644
--- a/unicorn_mode/UNICORNAFL_VERSION
+++ b/unicorn_mode/UNICORNAFL_VERSION
@@ -1 +1 @@
-0ca7a8f2
+c6d66471
diff --git a/unicorn_mode/samples/persistent/harness.c b/unicorn_mode/samples/persistent/harness.c
index 30013b4c..eae3f1fc 100644
--- a/unicorn_mode/samples/persistent/harness.c
+++ b/unicorn_mode/samples/persistent/harness.c
@@ -204,7 +204,7 @@ int main(int argc, char **argv, char **envp) {
 
     // Map memory.
     mem_map_checked(uc, BASE_ADDRESS, len, UC_PROT_ALL);
-    printf("Len: %lx\n", len);
+    /* printf("Len: %lx\n", len); */
     fflush(stdout);
 
     // write machine code to be emulated to memory
diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl
index 0ca7a8f2..c6d66471 160000
--- a/unicorn_mode/unicornafl
+++ b/unicorn_mode/unicornafl
@@ -1 +1 @@
-Subproject commit 0ca7a8f22b8bb028eb9fe053c0974a60ee640f18
+Subproject commit c6d6647161a32bae88785a618fcd828d1711d9e6
diff --git a/unicorn_mode/update_uc_ref.sh b/unicorn_mode/update_uc_ref.sh
index 21450e69..a2613942 100755
--- a/unicorn_mode/update_uc_ref.sh
+++ b/unicorn_mode/update_uc_ref.sh
@@ -21,10 +21,10 @@ fi
 
 git submodule init && git submodule update || exit 1
 cd ./unicornafl || exit 1
-git fetch origin master 1>/dev/null || exit 1
+git fetch origin dev 1>/dev/null || exit 1
 git stash 1>/dev/null 2>/dev/null
 git stash drop 1>/dev/null 2>/dev/null
-git checkout master
+git checkout dev
 
 if [ -z "$NEW_VERSION" ]; then
   # No version provided, take HEAD.
-- 
GitLab