You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When patching arm binary with samples/arm/hello32.py, sometimes the patched binary ended in a infinite loop because the LR register is changed in trampoline so later in the program when it jumps to the address in LR without assigning it to a new address, it jumps back to the injected instructions.
I edited the call function in class arm in arch.py. It worked in my case.
defcall(self, dst):
return''' push {lr} bl %s pop {lr} '''%self.fmtaddr(dst)
Thanks!
The text was updated successfully, but these errors were encountered:
When patching arm binary with samples/arm/hello32.py, sometimes the patched binary ended in a infinite loop because the LR register is changed in trampoline so later in the program when it jumps to the address in LR without assigning it to a new address, it jumps back to the injected instructions.
I edited the call function in class arm in arch.py. It worked in my case.
Thanks!
The text was updated successfully, but these errors were encountered: