Skip to content

Commit

Permalink
stalker-x86: fix jmp in test
Browse files Browse the repository at this point in the history
  • Loading branch information
s1341 authored and oleavr committed Feb 12, 2024
1 parent 40481a2 commit 7a603be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/arch-x86/stalker-x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 7a603be

Please sign in to comment.