Tips or Tools for Obfuscating Objective C Binary? [closed]

安稳与你 提交于 2019-12-28 06:27:10

问题


I'm looking to obfuscate a static objective c binary library.

What best practices or tools to people here recommend for that? I'm looking to make it a little harder for potential hackers to identify what certain code in my library does.

Thanks!


回答1:


At the top of your header, you could do stuff like:

#define SecurityClass ah7p
#define checkCopyProtection xcyc



回答2:


Make sure you have your compiler set to strip the linked product. This will make it harder for hackers by removing any labels in the output function. Unfortunately, you cannot completely remove objective-c information from the product. All method calls are done dynamically, so the library has to have information about your classes in order to function. The only way to keep hackers from using this information would be to make sure all of your class, method, and instance variable names give no information about what they are for.



来源:https://stackoverflow.com/questions/4393690/tips-or-tools-for-obfuscating-objective-c-binary

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!