Red Gate forums :: View topic - Obfuscate Dlls behind a facade
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Obfuscate Dlls behind a facade

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rob.swdev



Joined: 02 Jul 2014
Posts: 1

PostPosted: Wed Jul 02, 2014 1:01 pm    Post subject: Obfuscate Dlls behind a facade Reply with quote

I have a collection of dlls with many public methods. However, my application only needs a very small subset of them.
I'd like to create a facade dll that simply passes through calls to the handful of methods I need.

Can I do this and then easily obfuscate/merge/trim everything behind the "facade"?
I want all methods in the original collection of dlls to be obfuscated, or even removed if they are not required indirectly by the facade dll.
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 215

PostPosted: Thu Jul 03, 2014 5:58 pm    Post subject: Reply with quote

Hi Rob,

Thanks for you post!

In theory, you could make a sort of master/facade dll that has all theroriginal dlls merged so that all their members become internal and can be obfuscated/pruned.

Just a few things to be aware of:

- The application could break if the original members need to be called on via reflection by their fully qualified names since merging would change these
- You'll want to make sure that you wouldn't run into a complex merging situation where a merged assembly needs to be accessed by a non-merged assembly - http://documentation.red-gate.com/pages/viewpage.action?pageId=17696057
- We recommend against merging third-party DLLs as it would alter the code of the DLL and may violate license rules or integrity checks

Hope this information helps!
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group