From 0db7d9ea4ec4a31fc81a4c66f7c6c8ef469c3240 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 29 Aug 2015 09:22:53 +0800 Subject: [PATCH] reset emulation_done in uc_emu_start() --- uc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uc.c b/uc.c index d916c8aa..567d66dd 100755 --- a/uc.c +++ b/uc.c @@ -429,6 +429,7 @@ uc_err uc_emu_start(uch handle, uint64_t begin, uint64_t until, uint64_t timeout uc->stop_request = false; uc->invalid_error = UC_ERR_OK; uc->block_full = false; + uc->emulation_done = false; switch(uc->arch) { default: