diff --git a/unicorn_mode/UNICORNAFL_VERSION b/unicorn_mode/UNICORNAFL_VERSION index 02736b77a9c571296b3f676998cee5d1850e2783..21a8657d16eb4f7988eed9142fca11ea9ba60a97 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 eae3f1fcd86c6a45b878a358dd5b59e144b23286..30013b4c566d5c4a4624427669d208144eaf7f8f 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 c6d6647161a32bae88785a618fcd828d1711d9e6..0ca7a8f22b8bb028eb9fe053c0974a60ee640f18 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 a2613942a81fc60993df4dab6bd09039d1e54f5f..21450e69298c8bf6a0b08411aa919679fc71af2c 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.