Re: Removing source code paths from executable
Re: Removing source code paths from executable
- Subject: Re: Removing source code paths from executable
- From: Damien Bobillot <email@hidden>
- Date: Tue, 31 Jan 2006 15:02:46 +0100
Massimiliano Origgi wrote :
Hello,
I have recently switched to GCC 4 (under XCode 2.2) and checking
the optimized executable file I have found that the full source
path of all objective-c source files is included in the executable
(there are a few c files and they do not appear).
You may use the strip command (there's a setting in xcode for this),
which suppress all symbols but Objective-C class descriptions (name,
members, methods, inheritance…). These class descriptions must be
there, because they are used by the Objective-C runtime : there's no
way to prevent a potential hacker from seeing them (see the class-
dump tool). Knowing that, I don't think is really useful to hide
Objective-C file names.
This did not happen with GCC 3.3.
Are you sure ? try to run "otool -ov your_executable", I'm almost
sure you will see some .m filenames.
--
Damien Bobillot
_______________________________________________
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