Tips or Tools for Obfuscating Objective C Binary? [closed]
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionI'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!
At the top of your header, you could do stuff like:
#define SecurityClass ah7p
#define checkCopyProtection xcyc
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.
精彩评论