sbl_uni: sp tripwire stack-only whitelist (catch 105M smash site)

This commit is contained in:
SashegDev
2026-09-15 00:01:16 +00:00
parent 989c96ebda
commit 79dcc016b4
+1 -1
View File
@@ -354,7 +354,7 @@ def main():
sp = mu.reg_read(_S)
except Exception:
return
if not (0x07800000 <= sp < 0x08610000) and not (0x80000000 <= sp < 0x8A000000):
if not (0x07800000 <= sp < 0x08610000):
if len(_splog2) < 5:
_splog2.append((count[0], addr, sp))
mu.hook_add(UC_HOOK_CODE, hook_spck)