Skip to content

Commit

Permalink
unit: use UC_HOOK_MEM_VALID for test_tb_x86.c
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Jan 31, 2016
1 parent a2ef521 commit 32b9dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_tb_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 32b9dec

Please sign in to comment.