You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if registering a proxy that implements a protocol that the target does not would incur some troubles.
It seems that the methodSignatureForSelector: is forwarded to the target, the implemented protocols are not used to look up the method signature.
I find this helpful if you want to proxy a delegate that implements a protocol out of many others you might want to intercept.
e.g. the proxy implements NSURLSessionDataDelegate in addition to the target's only protocol NSURLSessionTaskDelegate.
Do you think that is a good idea to look up the method signature in the protocols as well?
Thank you again for this amazing framework!
The text was updated successfully, but these errors were encountered:
I was wondering if registering a proxy that implements a protocol that the target does not would incur some troubles.
It seems that the
methodSignatureForSelector:
is forwarded to the target, the implemented protocols are not used to look up the method signature.frida-objc-bridge/index.js
Line 1431 in 4fe3091
I find this helpful if you want to proxy a delegate that implements a protocol out of many others you might want to intercept.
e.g. the proxy implements
NSURLSessionDataDelegate
in addition to the target's only protocolNSURLSessionTaskDelegate
.Do you think that is a good idea to look up the method signature in the protocols as well?
Thank you again for this amazing framework!
The text was updated successfully, but these errors were encountered: