From 36c502dc39b6750e113e0a92d0fa1fd4fac904e6 Mon Sep 17 00:00:00 2001 From: SashegDev Date: Tue, 15 Sep 2026 01:59:35 +0000 Subject: [PATCH] sbl_uni: prog prints sp (up-march profiler) --- tools/sbl_uni.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/sbl_uni.py b/tools/sbl_uni.py index 33406cb..7a36f72 100644 --- a/tools/sbl_uni.py +++ b/tools/sbl_uni.py @@ -150,7 +150,8 @@ def main(): count[0] += 1 last[0] = addr if count[0] % 2000000 == 0: - print('prog:', count[0], hex(addr), flush=True) + from unicorn.arm_const import UC_ARM_REG_SP as _SX + print('prog:', count[0], hex(addr), hex(mu.reg_read(_SX)), flush=True) _pp = _prev[0] _prev[0] = addr if addr == _pp + 2 or addr == _pp + 4: