Hi all,
Is there any way to obfuscate Objective-C Code ?
Thanks
Hi all,
Is there any way to obfuscate Objective-C Code ?
Thanks
It's compiled to machine code; I'm not sure what point obfuscating it would have.
Edit: Of course, when I read "obfuscated C" in another answer, it all makes sense now. (I.e., not for "security", but "just because".) >_<
objective c is a straight subset of C, therefore all normal C obfuscation techniques work. If you want to work with cocoa, however, you're going to have a bit of an obstacle because the method names are fairly self-documenting.
For your own methods, you just have to self-document the methods incorrectly. I.e.
-(void) doSomethingInnocent:(BOOL)animated withObject:passwords;
when you would normally have written:
-(void) sendObjectToMyServer:(BOOL)coverupAnimation;
As the first step to obfuscate, use strip command to a executable file.
Not all information are stripped yet, but some name information is removed from the file.
After then, ... sorry I also don't know how to do it.