ios - 代码混淆私有函数怎么做的?
阿神
阿神 2017-04-17 17:36:07
0
2
501

网上有混淆方法名的方法,但是没有混淆私有函数的方法。
比喻代码: 怎么混淆

  1. Class LSApplicationWorkspace_class =
    objc_getClass("LSApplicationWorkspace");

     NSObject* workspace =

    [LSApplicationWorkspace_class
    performSelector:@selector(defaultWorkspace)];

阿神
阿神

闭关修行中......

reply all(2)
左手右手慢动作

I seem to have seen one on git, and we have used it. At that time, we were trying to determine whether other apps were installed on the phone. It was possible before iOS9, but now it has become a private API. My colleague searched for a long time on stackoverflow and found a foreign one. My friend, I have it on git but I have forgotten the address. His implementation seems to be the same as the confusion you mentioned

左手右手慢动作

It seems to be implemented using runtime
I have seen it before. Have to look for

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template