Re: disguising method and variable names in binary
Re: disguising method and variable names in binary
- Subject: Re: disguising method and variable names in binary
- From: Bill Bumgarner <email@hidden>
- Date: Thu, 09 Jul 2009 17:30:57 -0700
On Jul 9, 2009, at 5:15 PM, justin webster wrote:
is there a way to replace all method and variable names with
something meaningless at build time?
obviously these things need meaningful names for my sake but I don't
care what they're called in the binary.
Not really; KVO, KVC, Bindings, CoreData, delegation and many other
mechanisms rely upon the selector and class names. Sometimes, even
the ivar names.
I've tried setting the "strip" build settings for my target but
still see method names in plain text in the executable.
You can't strip a dynamic application because there is no way for the
compiler and linker to know what code paths might actually be used.
Ultimately, though, stripping and obfuscating is largely just going to
frustrate your efforts to figure out why your app crashes at a
customer site more than it would ever prevent someone from hacking it.
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden