Decompiling .NET Assembly
-
Joe Woodbury wrote:
I took some "well obfuscated" code and had working classes in less than ten seconds.
This is why my current switching-to-.NET plan is to use C++/CLI. I intend to do user interfaces in managed code to get the benefit of the modern RAD designer in VS2005, but to keep as much of the applications' code native as possible. I hope that'll make the apps reasonably hard to disassemble, yet I would get the use of a much more modern IDE (than my C++Builder 5) with good visual form-designing capabilities. So, I'm wondering if anyone reading this has tried out such a scenario? I'm in the middle of this switch-over, so I still have time to find alternatives if my 'brilliant' plan has some fundamental flaw -- what a shock that would be. :-D
-
I use reflector to browse my c++/clr build and it seems that all native calls are translated into managed code as well.
So far I'm building my native code as static libraries, which link just fine into a managed project. I'm not sure how much overhead is added by the "IJW" translation for calls from my managed code into my unmanaged-code static library. I seem to remember that Kate Gregory had an article about that, and I must go dig it up soon and read it again.