unit: use UC_HOOK_MEM_VALID for test_tb_x86.c

This commit is contained in:
Nguyen Anh Quynh 2016-01-31 13:14:11 +08:00
parent a2ef52172c
commit 32b9deca04
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ static void test_tb_x86_64_32_imul_Gv_Ev_Ib(void **state)
uc_assert_success(uc_hook_add(uc,
&trace2,
UC_HOOK_MEM_READ | UC_HOOK_MEM_WRITE | UC_HOOK_MEM_FETCH,
UC_HOOK_MEM_VALID,
hook_mem32,
NULL,
(uint64_t)1,