Re: "Stripped" executable still has symbols in it
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