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!
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!
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.