-
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
iOS return value hooking not setting correct values #193
Comments
Relatedly, I was doing the known-working methods I described in #187. |
I think the issue is here, on line 244: objection/agent/src/ios/hooking.ts Lines 235 to 246 in 097d016
|
Interesting. I am going to have to debug this one a little more. May be a race condition in how the |
No, the app gets |
Can confirm, changing the compiled JS fixes the issue. I can submit a PR to fix the typescript file, if you'd like. |
Awesome, a PR would rock :) |
Replace TRUE with FALSE in FALSE return code. Works on #193.
Getting odd behavior when trying to run the latest version of Objection and frida-gadget. I patch a method to always return False/0, and the
set-method-return
job shows it as being overridden to0x0
. However, awatch-method
job shows it as returning0x1
(and my app crashes).This was not an issue with the last version of objection, so I suspect it has to do with the move to the typescript agent.
The below output shows my issue pretty well. If it makes any difference, I'm running on Windows, and am connecting to frida-server over a network connection.
The text was updated successfully, but these errors were encountered: