Merge branch 'master' into mem_map_ex_cse

This commit is contained in:
Chris Eagle
2015-08-29 21:22:33 -07:00
10 changed files with 179 additions and 14 deletions

5
uc.c
View File

@ -549,6 +549,11 @@ uc_err uc_emu_start(uch handle, uint64_t begin, uint64_t until, uint64_t timeout
// emulation is done
uc->emulation_done = true;
if (timeout) {
// wait for the timer to finish
qemu_thread_join(&uc->timer);
}
return uc->invalid_error;
}