Obfuscate public members of DLL files

.NET obfuscator and automated error reporting

Obfuscate public members of DLL files

Postby tstuts » Tue Jul 01, 2014 10:35 pm

I'm aware that "SmartAssembly does not obfuscate public members of DLL files, because the DLL would be unusable." But is there an option to force SmartAssembly to obfuscate everything except what I exclude, like it does for an executable?
Posts: 2
Joined: Tue Jul 01, 2014 10:28 pm

Postby jessica.ramos » Thu Jul 03, 2014 3:46 pm

Hi there,

I'm afraid there isn't an option to force obfuscation. We do have a feature request to add an attribute to force it (reference SA-1569) and I've +1'd it on your behalf.

My apologies as I know this isn't the answer you were hoping for!
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Posts: 546
Joined: Mon Apr 23, 2012 12:13 pm

Postby tstuts » Wed Jul 09, 2014 7:35 pm

Thanks for the reply. At least I know I'm not missing something obvious. I was able to work around the issue for now.
Posts: 2
Joined: Tue Jul 01, 2014 10:28 pm

Re: Obfuscate public members of DLL files

Postby dany500 » Wed Oct 15, 2014 7:43 am

I admire your work jessica.ramos !
Posts: 1
Joined: Wed Oct 15, 2014 7:40 am

Re: Obfuscate public members of DLL files

Postby iblazhko-tw » Thu Feb 05, 2015 11:40 am


Any news on SA-1569 ?

I am working on obfuscating a .NET solution where a few assemblies are merged into facade so that the facade will expose only a few selected types to clients. I need to obfuscate everything in merged assemblies except the types explicitly excluded.

SA documentation (http://documentation.red-gate.com/display/SA6/Troubleshooting+name+mangling) mentions KeepPublicMembersAccessible (former ExcludePublicMembers) attribute, but unfortunately it is not fully documented.

Would this be a correct usage of KeepPublicMembersAccessible attribute?
Code: Select all
<Assembly AssemblyName="MyAssembly, Culture=neutral, PublicKeyToken=*****">
  <Merging Merge="1">
    <Obfuscation Obfuscate="1" KeepPublicMembersAccessible="0" />

Will it cause the effect I need (obfuscating public members)?

Posts: 4
Joined: Thu Feb 05, 2015 9:24 am

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests