callback to count number of instructions in uc_emu_start() should be executed first. fix #727

This commit is contained in:
Nguyen Anh Quynh
2017-06-16 13:22:38 +08:00
parent 8f2d6cd70f
commit fe466d003a
4 changed files with 62 additions and 7 deletions

View File

@ -244,6 +244,7 @@ struct uc_struct {
uint32_t target_page_size;
uint32_t target_page_align;
uint64_t next_pc; // save next PC for some special cases
bool hook_insert; // insert new hook at begin of the hook list (append by default)
};
// Metadata stub for the variable-size cpu context used with uc_context_*()