-
Notifications
You must be signed in to change notification settings - Fork 873
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
[bug] A Frida agent exception has occurred cannot read property 'address' of undefined #361
Comments
Please run |
|
And then run your commands after that please. |
When i run objection with --debug flag it closes after giving this stack trace. |
Even when I run
|
The error says it cant find the gadget. Is the app running? |
here is the stack trace in debug mode:
|
@leonjza any update on this? |
Just tested this, I can only replicate it when I try and watch a selector which the I am going to add better error reporting for this case shortly. |
Improves error reporting for cases like #361
Yes the selector is there, that will be great to better understand what is causing this error. |
It could be that you are trying to watch an instance method when in fact you are after a class method. Try swapping out the |
Even I'm facing the same issue when running objection on Mac osx :/ |
The command invokes this logic to find your method. Maybe write a small Frida script to replicate that for your target to help you debug the name? |
This comment has been minimized.
This comment has been minimized.
@MarshalX that is unrelated to this ticket. I will reference a new issue for it as this is related to the update checker. |
the same exception #361 (comment) in this ticket |
Which can be discussed in #381 now. |
Describe the bug
When i try to watch any method of a class i ran into this error after that i updated my Frida and objection framework to see if the issue gets resolved but still getting the same error.
WARNING: Ignoring this template and not completing the fields could result in your issue simply being closed.
To Reproduce
Steps to reproduce the behavior:
Run command 'ios hooking set return_value "-[FIRGetAccountInfoResponseUser emailVerified:]" true'
ios hooking watch method "-[FIRSecureTokenRequest APIKey:]" --dump-args
Both Commands result into same error.
Expected behavior
A clear and concise description of what you expected to happen.
Evidence / Logs / Screenshots
Any output from objection, such as stack traces or errors that occurred. Be sure to run objection with the
--debug
flag so that errors from the agent are verbose enough to debug. For example:Getting this error when trying to dump arguments of a method call
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: