mirror of
https://github.com/Vita3K/unicorn.git
synced 2024-11-26 23:00:37 +00:00
fix test_x86.c
This commit is contained in:
parent
ef5e083c4d
commit
ac68fd441d
@ -379,7 +379,7 @@ static void test_i386_loop(void **state)
|
||||
// emulate machine code in 2 seconds, so we can quit even
|
||||
// if the code loops
|
||||
err = uc_emu_start(uc, address, address+sizeof(code), 2*UC_SECOND_SCALE, 0);
|
||||
uc_assert_err(err);
|
||||
uc_assert_success(err);
|
||||
|
||||
// verify register values
|
||||
uc_assert_success(uc_reg_read(uc, UC_X86_REG_ECX, &r_ecx));
|
||||
|
Loading…
Reference in New Issue
Block a user