From 857046ede5a7bd54a725bfd4367de55011cca94d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Jul 2020 15:57:48 +0200 Subject: Revert "updated unicorn version" This reverts commit 4515e06ca8620183c536af9f55a47b78fb7c708a. --- 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 02736b77..21a8657d 100644 --- a/unicorn_mode/UNICORNAFL_VERSION +++ b/unicorn_mode/UNICORNAFL_VERSION @@ -1 +1 @@ -c6d66471 +0ca7a8f2 diff --git a/unicorn_mode/samples/persistent/harness.c b/unicorn_mode/samples/persistent/harness.c index eae3f1fc..30013b4c 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 c6d66471..0ca7a8f2 160000 --- a/unicorn_mode/unicornafl +++ b/unicorn_mode/unicornafl @@ -1 +1 @@ -Subproject commit c6d6647161a32bae88785a618fcd828d1711d9e6 +Subproject commit 0ca7a8f22b8bb028eb9fe053c0974a60ee640f18 diff --git a/unicorn_mode/update_uc_ref.sh b/unicorn_mode/update_uc_ref.sh index a2613942..21450e69 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 dev 1>/dev/null || exit 1 +git fetch origin master 1>/dev/null || exit 1 git stash 1>/dev/null 2>/dev/null git stash drop 1>/dev/null 2>/dev/null -git checkout dev +git checkout master if [ -z "$NEW_VERSION" ]; then # No version provided, take HEAD. -- cgit 1.4.1