Breakpoint can not work properly
Breakpoint can not work properly.
When break point is hitted, following error message will be show, my OS is Ubuntu20.04. My phone is Android 10. ARM64 does not support?
0x71a0de5090 base.odex!0xf090
0x71a0de5090 base.odex!0xf090
Unexpected payload

Have you solved this problem? I encounter it too, and r2 cashed.
No. It always crash.
原始邮件
发件人:"tonychen"< @.*** >;
发件时间:2022/2/17 13:35
收件人:"nowsecure/r2frida"< @.*** >;
抄送人:"纳姆波1"< @.*** >;"Author"< @.*** >;
主题:Re: [nowsecure/r2frida] Breakpoint can not work properly (#284)
Have you solved this problem? I encounter it too, and r2 cashed.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
The current implementation of breakpoints is an event holder, which is not exactly how breakpoints should work, so its known and expected to fail. Eventually i'll find time to implement that properly, but ideally that should be a feature provided by frida-gum.
Afaik, the DWARF project (qt frontend for frida) implements breakpoints in a better way, if you try it out, let me know if it works well there and we can port that functionality without depending on changes in Frida.
I've tried DWARF's breakpoint function and it works well.
When discussing breakpoints. What is the state or considerations to being able to support smali breakpoints aswell? There are debugger like jadx, who support it. They use adb. As far as i know with apk:// r2 is able to display the dex code or smali quite well.
My plan is to implement the logic done in DWARF inside r2frida, and their implementation supports objc, native and dalvik breakpoints. That stuff is implemented in here https://github.com/iGio90/DwarfCore
hope to allocate some time for this next week, as long as i think it's a very important feature :)
My plan is to implement the logic done in DWARF inside r2frida, and their implementation supports objc, native and dalvik breakpoints. That stuff is implemented in here https://github.com/iGio90/DwarfCore
hope to allocate some time for this next week, as long as i think it's a very important feature :)
Expecting it. Thanks
Please try the new breakpoint support now and verify whether it works or not :)