Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoint can not work properly #284

Open
BurningTeng opened this issue Dec 9, 2020 · 8 comments
Open

Breakpoint can not work properly #284

BurningTeng opened this issue Dec 9, 2020 · 8 comments

Comments

@BurningTeng
Copy link

BurningTeng commented Dec 9, 2020

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

burning

@qingpengchen2011
Copy link

Have you solved this problem? I encounter it too, and r2 cashed.

@BurningTeng
Copy link
Author

BurningTeng commented Feb 17, 2022 via email

@trufae
Copy link
Member

trufae commented Feb 26, 2022

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.

@qingpengchen2011
Copy link

I've tried DWARF's breakpoint function and it works well.

@GanbaruTobi
Copy link

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.

@trufae
Copy link
Member

trufae commented Mar 4, 2022

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 :)

@qingpengchen2011
Copy link

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

@as0ler
Copy link
Contributor

as0ler commented Oct 11, 2022

Please try the new breakpoint support now and verify whether it works or not :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants