sbl_uni: prog prints sp (up-march profiler)

This commit is contained in:
SashegDev
2026-09-15 01:59:35 +00:00
parent 056777b213
commit 36c502dc39
+2 -1
View File
@@ -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: