• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: disguising method and variable names in binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >disguising method and variable names in binary (From: justin webster <email@hidden>)

  • Prev by Date: Re: disguising method and variable names in binary
  • Next by Date: Re: Confused about NSPrintInfo margins
  • Previous by thread: Re: disguising method and variable names in binary
  • Next by thread: Re: TableView displaying a zillion empty rows Problem Solved!
  • Index(es):
    • Date
    • Thread