Re: Hiding method names in binary
Re: Hiding method names in binary
- Subject: Re: Hiding method names in binary
- From: "Sean McBride" <email@hidden>
- Date: Wed, 23 Nov 2005 15:26:24 -0500
- Organization: Rogue Research
On 2005-11-23 15:21, Clark Cox said:
>Yes, it's true, as the Objective-C runtime needs to know the names of
>methods and classes in order to function properly. Your only real
>option for hiding the method names is to obfuscate them. For instance,
>if you have a method that checks the validity of a serial number, call
>it something completely unrelated. So, instead of:
>
>-(BOOL)isSerialNumberValid:(NSString*)number
>
>call it:
>
>-(BOOL)shouldHaltThread:(id)number
Or:
#define isSerialNumberValid shouldHaltThread
-(BOOL)isSerialNumberValid:(NSString*)number
So that you can read your code, at least. :)
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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