From 324397f8d2dc87976cb891d51d717c05c5ad0cc5 Mon Sep 17 00:00:00 2001 From: mio Date: Mon, 14 Apr 2025 00:03:32 +0800 Subject: [PATCH] Fix wrong pc type --- tests/unit/test_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_x86.c b/tests/unit/test_x86.c index bc2afc36..5f107406 100644 --- a/tests/unit/test_x86.c +++ b/tests/unit/test_x86.c @@ -1619,7 +1619,7 @@ static void test_x86_vtlb(void) uc_hook hook; char code[] = "\xeb\x02\x90\x90\x90\x90\x90\x90"; // jmp 4; nop; nop; nop; // nop; nop; nop - uint64_t r_eip = 0; + uint32_t r_eip = 0; uc_common_setup(&uc, UC_ARCH_X86, UC_MODE_32, code, sizeof(code) - 1);