fix recursive UC_HOOK_MEM callbacks for cross pages access (#1113)

Co-authored-by: bruno <bruno>
Co-authored-by: Nguyen Anh Quynh <aquynh@gmail.com>
This commit is contained in:
BrunoPujos
2020-05-25 10:22:28 +02:00
committed by GitHub
parent ac68fd441d
commit 6cad700b69
3 changed files with 73 additions and 46 deletions

1
uc.c
View File

@ -559,6 +559,7 @@ uc_err uc_emu_start(uc_engine* uc, uint64_t begin, uint64_t until, uint64_t time
uc->invalid_error = UC_ERR_OK;
uc->block_full = false;
uc->emulation_done = false;
uc->size_recur_mem = 0;
uc->timed_out = false;
switch(uc->arch) {