diff --git a/tests/core/arch-x86/stalker-x86.c b/tests/core/arch-x86/stalker-x86.c index 19739c9a2..788d5252e 100644 --- a/tests/core/arch-x86/stalker-x86.c +++ b/tests/core/arch-x86/stalker-x86.c @@ -1008,8 +1008,8 @@ TESTCASE (transformer_should_be_able_to_replace_tailjump_with_callout) guint8 code_template[] = { 0xb8, 0x14, 0x05, 0x00, 0x00, /* mov eax, 1300 */ - 0xe9, 0x01, 0x00, 0x00, 0x00, /* jump bump_number */ - 0xcc, /* int3 */ + 0xeb, 0x01, /* jmp bump_number */ + 0x90, /* nop */ /* bump_number: */ 0x83, 0xc0, 0x25, /* add eax, 37 */ 0xc3, /* ret */