From 9e4ed32e8ac23e97fe995cac605de0612be3bd8d Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 7 Sep 2015 10:19:45 +0800 Subject: [PATCH] x86: handle SYSCALL even if there is no handler --- qemu/target-i386/seg_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target-i386/seg_helper.c b/qemu/target-i386/seg_helper.c index 2111ac7c..2081bd4f 100644 --- a/qemu/target-i386/seg_helper.c +++ b/qemu/target-i386/seg_helper.c @@ -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;