Assuner

Results 11 comments of Assuner

id object = object_getClass(obj); [object aspect_...]

id class = object_getClass(obj); id metaClass = object_getClass(class); [metaClass aspect_...]

May you can also try Stinger https://github.com/eleme/Stinger

> @Assuner-Lee @varun531 If had hooked a static method using the above method, then you try to hook a instance method and call the instance method, it would be crashed!...

因为有些其他的库也需要依赖这个库啊..

我周末看下,不知道其他hook方式会不会产生类似的问题

> 以及 还包括了统一hook时替换imp为objc_msgForward,hook forwardInvocation: 这种细节;

使用nativeObject获取到你需要的对象

联系那位哥们吧