From a323cf1fd34b0ef1facb431056c1d80144685f8d Mon Sep 17 00:00:00 2001 From: s1341 Date: Tue, 13 Feb 2024 15:21:47 +0200 Subject: [PATCH] stalker-arm: fix broken tests --- tests/core/arch-arm/stalker-arm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */