Minor fix for uc_ctl

This commit is contained in:
2021-11-08 20:40:02 +01:00
parent 06f454d513
commit e836b62e01
3 changed files with 8 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ static void test_uc_ctl_exits()
uint64_t exits[] = {code_start + 6, code_start + 8};
uc_common_setup(&uc, UC_ARCH_X86, UC_MODE_32, code, sizeof(code) - 1);
OK(uc_ctl_exits_enabled(uc, true));
OK(uc_ctl_exits_enable(uc));
OK(uc_ctl_set_exits(uc, exits, 2));
r_eax = 0;
r_ebx = 0;