lazymio 225d387325
Fix wrong sync after UC_ERR_[READ, WRITE, FETCH]_[UNMAPPED, PROT] (#1368)
* Fix wrong sync after UC_ERR_[READ, WRITE, FETCH]_[UNMAPPED, PROT]

Note that:
1. We only guarantee the pc (and other internal states) is correct
if and only of `uc_emu_start` returns without any error (or errors
have been handled in callbacks.).
2. If memory read/write error isn't handled by hooks, the state is
undefined and the pc is probably wrong if no hook is installed.

This fixes #1323.

* Rename variables

* Add note in unicorn.h

* Refine test_i386_invalid_mem_read_in_tb
2021-05-12 00:10:45 +08:00
..
2018-08-29 10:36:23 +08:00
2017-01-23 11:35:00 +11:00
2017-04-25 12:55:26 +08:00
2017-01-23 11:35:00 +11:00
2017-01-23 11:35:00 +11:00
2017-01-23 11:35:00 +11:00
2017-01-23 11:35:00 +11:00
2017-01-23 11:35:00 +11:00