From 7a603bef4f19d7403e74f964c2e726d2e758a413 Mon Sep 17 00:00:00 2001 From: s1341 Date: Tue, 16 Jan 2024 16:00:04 +0200 Subject: [PATCH] stalker-x86: fix jmp in test --- tests/core/arch-x86/stalker-x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */