• 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: Hiding class and method symbols in the compiled program?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding class and method symbols in the compiled program?


  • Subject: Re: Hiding class and method symbols in the compiled program?
  • From: John Anderson <email@hidden>
  • Date: Sat, 27 Jul 2002 11:18:42 -0700

If a certain function is really meant to be private, you can hide it by making it a C function instead of a class method. Means that you'll need to go through a few more hoops, but for one or two functions that's not bad.

John Anderson


On Saturday, July 27, 2002, at 07:55 AM, Pierre-Olivier Latour wrote:

Hi again,

To prevent my program from being too easily hacked, I'd like that class and
method names be not visible in the Mach-O binary.

I did a quick test by building a Foundation tool. I turned off debugging
symbols in the project options, and select the "deployment" target
variation.
Using "sample" in the terminal still shows the readable names of my class...

Is it possible to really hide these names? Say I have a class that handle
serial number verifications, it's going to be really easy to bypass if its
name is clearly visible.

Any idea?


_____________________________________________________________

Pierre-Olivier Latour email@hidden
Lausanne, Switzerland http://www.pol-online.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Hiding class and method symbols in the compiled program? (From: Pierre-Olivier Latour <email@hidden>)

  • Prev by Date: Re: Using NSToolbar itemForItemIdentifier properly?
  • Next by Date: Global floating windows and app activation
  • Previous by thread: Re: Hiding class and method symbols in the compiled program?
  • Next by thread: Re: Hiding class and method symbols in the compiled program?
  • Index(es):
    • Date
    • Thread