x86: handle SYSCALL even if there is no handler

This commit is contained in:
Nguyen Anh Quynh 2015-09-07 10:19:45 +08:00
parent a166c24f8e
commit 9e4ed32e8a
1 changed files with 1 additions and 1 deletions

View File

@ -950,8 +950,8 @@ void helper_syscall(CPUX86State *env, int next_eip_addend)
if (uc->hook_syscall_idx) {
((uc_cb_insn_syscall_t)uc->hook_callbacks[uc->hook_syscall_idx].callback)(
uc, uc->hook_callbacks[uc->hook_syscall_idx].user_data);
env->eip += next_eip_addend;
}
env->eip += next_eip_addend;
return;