From caa437c0ffd4c5ac3ae500a2a8939ce2c45b6535 Mon Sep 17 00:00:00 2001 From: xorstream Date: Sun, 20 Dec 2015 15:03:34 +1100 Subject: [PATCH] Added test for uc_emu_stop() in code hook not always stopping the emu at the current instruction. --- tests/regress/emu_stop_in_hook_overrun.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/regress/emu_stop_in_hook_overrun.c b/tests/regress/emu_stop_in_hook_overrun.c index 23c6bb2c..859749ed 100644 --- a/tests/regress/emu_stop_in_hook_overrun.c +++ b/tests/regress/emu_stop_in_hook_overrun.c @@ -63,11 +63,6 @@ int main(int argc, char **argv, char **envp) int ret; uc_hook hhc; uint32_t val; -#ifdef _WIN32 - HANDLE th = (HANDLE)-1; -#else - pthread_t th; -#endif // dynamically load shared library #ifdef DYNLOAD