diff --git a/tests/core/arch-arm/stalker-arm.c b/tests/core/arch-arm/stalker-arm.c index c5bbe6e7f..62c1616ad 100644 --- a/tests/core/arch-arm/stalker-arm.c +++ b/tests/core/arch-arm/stalker-arm.c @@ -3226,9 +3226,10 @@ add_n_return_value_increments (GumStalkerIterator * iterator, } TESTCODE (arm_simple_call, + 0x04, 0xe0, 0x2d, 0xe5, /* push {lr} */ 0x14, 0x05, 0x00, 0xe3, /* mov r0, 1300 */ 0xfe, 0xff, 0xff, 0xfa, /* blx bump_number */ - 0x1e, 0xff, 0x2f, 0xe1, /* bx lr */ + 0x04, 0xf0, 0x9d, 0xe4, /* pop {pc} */ /* bump_number: */ 0x25, 0x00, 0x80, 0xe2, /* add r0, 37 */ 0x1e, 0xff, 0x2f, 0xe1, /* bx lr */