• 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: "Stripped" executable still has symbols in it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Stripped" executable still has symbols in it


  • Subject: Re: "Stripped" executable still has symbols in it
  • From: Chris Hanson <email@hidden>
  • Date: Sun, 2 Dec 2007 23:29:22 -0800

On Dec 2, 2007, at 8:01 PM, Jerry Krinock wrote:

But otool shows that only the two method implementation names are missing. The class names and method names are all still there. So, if you just fill in the blanks with the given names from section above, you've got the same information as from the unstripped product.

I was expecting that a "stripped" executable would do all its jumps using hex addresses, and running otool on it would show me no English symbols. Is there any better way to strip a product?

Your expectation is incorrect; it's not at all how Objective-C works. Objective-C preserves class and method metadata so it is available at run time, because it does dynamic rather than static dispatch.


This is where the Cocoa frameworks derive much of their power.

  -- Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >"Stripped" executable still has symbols in it (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: "Stripped" executable still has symbols in it
  • Next by Date: Re: XCode 3 SCM Repository- configure CVS?
  • Previous by thread: Re: "Stripped" executable still has symbols in it
  • Next by thread: Re: XCode 3 SCM Repository- configure CVS?
  • Index(es):
    • Date
    • Thread