when uc_mem_exec() remove EXE permission, quit current TB & continue emulating with TB flushed. this fixes issue in PR #378

This commit is contained in:
Nguyen Anh Quynh
2016-01-28 00:56:55 +08:00
parent 876c423dd0
commit e750a4e97c
3 changed files with 19 additions and 1 deletions

View File

@@ -215,6 +215,7 @@ struct uc_struct {
bool init_tcg; // already initialized local TCGv variables?
bool stop_request; // request to immediately stop emulation - for uc_emu_stop()
bool quit_request; // request to quit the current TB, but continue to emulate - for uc_mem_protect()
bool emulation_done; // emulation is done by uc_emu_start()
QemuThread timer; // timer for emulation timeout
uint64_t timeout; // timeout for uc_emu_start()