• 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: Removing source code paths from executable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Removing source code paths from executable (From: Massimiliano Origgi <email@hidden>)

  • Prev by Date: Vague linkage and RTTI (was LINK_WITH_STANDARD_LIBRARIES = NO)
  • Next by Date: those installation directories again
  • Previous by thread: Removing source code paths from executable
  • Next by thread: Making XCode realize a file/resource has been updated
  • Index(es):
    • Date
    • Thread