objection
objection copied to clipboard
Hooking NSURLRequest with --dump-args crashes Objection
Describe the bug When hooking -[NSURLRequest initWithURL:cachePolicy:timeoutInterval:], Objection will crash and terminate but will keep the app running
To Reproduce Steps to reproduce the behavior:
-
ios hooking watch method "-[NSURLRequest initWithURL:cachePolicy:timeoutInterval:]" --dump-args - Do something to invoke NSURLRequest
- Objection crashes
Expected behavior Obviously, this should dump the arguments of the request
Evidence / Logs / Screenshots
I have attached a screenshot from starting objection to the crash with --debug.

Environment (please complete the following information):
- Device: iPhone 7+
- OS: iOS 12.4
- Frida Version: 12.7.5
- Objection Version: 1.7.5
I am not sure why this would happen, and would suggest some more debugging / reversing of the target app. Chances are that one of the arguments cant be dumped the way it is being done here.