• 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: Path names in executable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path names in executable


  • Subject: Re: Path names in executable
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 03 Apr 2006 18:37:25 -0700


On Apr 3, 2006, at 2:00 PM, Ondra Cada wrote:

Stefan,

On 3.4.2006, at 19:56, Stefan Schüßler wrote:

"Only Link In Essential Symbols" is checked, but doesn't help.

Here's what I did in Xcode:

  File > New Project... > Cocoa Application > ~/test/
  File > New File... > Objective-C class > MyClass.m
  Project > Set Active Configuration > Release

Afterwards I've tried different build settings but regardless
of the settings, the executable always contained the string
"/Users/myusername/test/MyClass.m"

Those names seem to be used by linker as default names for the linked-together modules -- which would be rather good, lest you are bitten in the back by name clash when using the same source from different folders.


Why do you see it as a problem, first of all? Presumed you don't want anybody to be able to get your home folder name, just move your project tree to /Projects or something like that...

Well it reveals aspects of your source hiearchy which could leak unintended information to external parties.


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

This email sent to email@hidden
  • Follow-Ups:
    • Re: Path names in executable
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Path names in executable (From: "Sean McBride" <email@hidden>)
 >Re: Path names in executable (From: Stefan Schüßler <email@hidden>)
 >Re: Path names in executable (From: Stefan Schüßler <email@hidden>)
 >Re: Path names in executable (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: layoutManager:didCompleteLayoutForTextContainer:atEnd: and multi-column problem
  • Next by Date: Re: Path names in executable
  • Previous by thread: Re: Path names in executable
  • Next by thread: Re: Path names in executable
  • Index(es):
    • Date
    • Thread