Re: obfuscation & reflection

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: CSharped (csharped_at_yahoo.com)
Date: 01/24/05


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



Relevant Pages

  • Obfuscator
    ... have one called Dotfuscator (Community Edition) from ... PreEmptive Solutions ... >I'm looking for a good Obfuscator, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Dotfuscator question
    ... I knew about community edition, but in order to use it i must have ... I ' ll try to use Dan Appleman's obfuscator. ... > Dotfuscator comes with the Enterprise Architect version of .NET. ...
    (microsoft.public.dotnet.framework)
  • Re: newbie obfuscating issue
    ... I'm using the obfuscator that comes ... with vs.net and registered the community edition and went to the Yahoo ... When I used my dll as input for obfuscation I got the following messages: ... Is it possible to obfuscate a dll and distribute it with an ascx control ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Obfuscate
    ... The Community Edition will provide ... >> If you are having issues with using your chosen obfuscator, ... >> obfuscated code which you can recompile and debug as well as relink ... >> produces obfuscated code that can be recompiled. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Obfuscate
    ... The Community Edition will provide ... > If you are having issues with using your chosen obfuscator, ... >> implementing the custom actions from the custom installer class. ...
    (microsoft.public.dotnet.languages.csharp)