Re: obfuscation & reflection
From: CSharped (csharped_at_yahoo.com)
Date: 01/24/05
- Next message: Uhway: "Need Help"
- Previous message: Ranjan: "Re: "as" or "is""
- In reply to: CSharped: "Re: obfuscation & reflection"
- Messages sorted by: [ date ] [ thread ]
Date: 24 Jan 2005 07:36:45 -0800
If you register using the Community Edition or the Professional
Edition, there is a knowledge base article you can access that gives an
example of how to use regular expressions for excluding types, methods,
or fields from obfuscation.
Jonathan Henderson
Dotfuscator Support
http://www.preemptive.com
CSharped wrote:
> MrNobody wrote:
> > How would you handle this situation:
> >
> > I have a series of classes which are to be later loaded using
> reflection:
> > but the class to be used can vary depending on strings from a text
> file. So
> > this text file will have some of these class names in it to govern
> which
> > class gets used.
> >
> > Now, I want to obfuscate as much of my program as I can, though if
I
> > obfuscate everything it won't work anymore because those class
names
> in the
> > text file no longer match anything in my assembly. These classes in
> > particular have no sensitive information, so it would be fine to
> leave them
> > un-obfuscated.
> >
> > But what's the easiaest way to accomplish this? Put them in their
own
>
> > namespace and tell the obfuscator to ignore them? Or put them in
> their own
> > assembly like a dll that gets referenced by my app? What would you
> do?
>
> I don't know what obfuscator are you using or planning to use, but if
> the code you have just finished is complete, you shouldn't change the
> code for the sake of the obfuscator. It should be the other way
around.
>
> For Dotfuscator, you can single out the classes you want excluded
from
> renaming by using regular expressions or by certain characteristics
> such as access modifiers.
>
> Any other documentation on Dotfuscator can be found here:
> http://www.preemptive.com/downloads/Documentation.html
- Next message: Uhway: "Need Help"
- Previous message: Ranjan: "Re: "as" or "is""
- In reply to: CSharped: "Re: obfuscation & reflection"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|