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

Support for tracing high-level methods of Java Classes via patterns #70

Open
dpnishant opened this issue Mar 12, 2016 · 11 comments

Comments

@dpnishant
Copy link

commented Mar 12, 2016

We need to add support for tracing high-level methods of Java Classes via patterns i.e. the Android/Java equivalent of the existing switch, below:

frida-trace -U someApp -m "*[NSFile* write*:*]"

@dpnishant

This comment has been minimized.

Copy link
Author

commented Mar 12, 2016

may be we should also rename -m to -ObjC so that when we have the Java support, a switch like -Java would be consistent and self-explanatory. Just my 2 cents.

@Piasy

This comment has been minimized.

Copy link

commented Jun 2, 2017

Any update on this issue?

@oleavr

This comment has been minimized.

Copy link
Contributor

commented Jun 2, 2017

@Piasy Nobody is working on this as far as I can know. Are you volunteering? ;)

@dpnishant

This comment has been minimized.

Copy link
Author

commented Jun 2, 2017

@Piasy In the meantime, why don't you give https://github.com/dpnishant/appmon a try? :)

@Piasy

This comment has been minimized.

Copy link

commented Jun 2, 2017

@dpnishant Great work! But why not support wildcard in method name of Android Tracer? btw, I've write a tiny Java program to generate js code to hook all methods in provided classes, I'll release it later :)

@oleavr

This comment has been minimized.

Copy link
Contributor

commented Jun 2, 2017

@Piasy Would be awesome if you could implement that in frida-trace 😊 It's still a pretty simple program, less than 900 LOC, so shouldn't take long to understand it and be able to add this new feature to it.

@Piasy

This comment has been minimized.

Copy link

commented Jun 3, 2017

Sure, I'll try it.

@Piasy

This comment has been minimized.

Copy link

commented Jun 4, 2017

@oleavr Sorry sir, I'm not very familiar with python, so I can't finish this job in a short time, and I don't have enough time to dive into this job. But I've released the Java program I wrote to generate hook script, hope it could help others, https://github.com/Piasy/FridaAndroidTracer.

@dpnishant

This comment has been minimized.

Copy link
Author

commented Jun 4, 2017

@Piasy Check out this update dpnishant/appmon@bf3cee9 😊

@Piasy

This comment has been minimized.

Copy link

commented Jun 4, 2017

@dpnishant Awesome!

@XhstormR

This comment has been minimized.

Copy link

commented May 30, 2019

Yes, it would be great if frida-trace could track the java method directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.