You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix wrong entry break addr on arm32
This commit is contained in:
@@ -74,7 +74,7 @@ bool inject_on_main(int pid, const char *lib_path) {
|
||||
}
|
||||
if (WIFSTOPPED(status) && WSTOPSIG(status) == SIGSEGV) {
|
||||
if (!get_regs(pid, regs)) return false;
|
||||
if (regs.REG_IP != break_addr) {
|
||||
if ((regs.REG_IP & ~1) != (break_addr & ~1)) {
|
||||
LOGE("stopped at unknown addr %p", (void *) regs.REG_IP);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user