• 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 symbol for security reason
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing symbol for security reason


  • Subject: Re: Removing symbol for security reason
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Tue, 23 Sep 2008 17:27:47 +0200


Le 23 sept. 08 à 17:04, David Gagnon a écrit :

Hi,

We are trying to make our application more difficult to hack (remove protection). So, first step is symbol removal. I have a couple of question about this:
  • Xcode build flags does not seem to remove all symbols, so I need to use “strip” command to do a better job. Why?
  • When I remove symbols using “strip” with “-x” argument, our important symbols are removed correctly (verified with “nm” command). But, if I open our application with an hexadecimal editor, I still can find strings of our important symbols. Why?
  • Where can I find information about protecting our application correctly?

Note that I found this link:

http://lists.apple.com/archives/xcode-users/2006/Mar/msg00552.html

 It is very usefull, but I need more informations.

Thanks!

Are you building an Obj-C app or a C/C++ App. 
Obj-C runtime require methods and class names to works (this is the cost of dynamic binding), so it's not possible to remove all strings from the binary. 

 _______________________________________________
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

  • Follow-Ups:
    • Re: Removing symbol for security reason
      • From: David Gagnon <email@hidden>
References: 
 >Removing symbol for security reason (From: David Gagnon <email@hidden>)

  • Prev by Date: Removing symbol for security reason
  • Next by Date: Re: Removing symbol for security reason
  • Previous by thread: Removing symbol for security reason
  • Next by thread: Re: Removing symbol for security reason
  • Index(es):
    • Date
    • Thread