views:

596

answers:

3

Hello. I need a tool to decompile obfuscated .NET code. Yes, I know about Reflector and its plugins (FileDisassemble, FileGenerator). But they create VS project which won't compile.

For an example the decompiled code contains: private sealed class d__0 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private int <>2__current;

I need a tool which could rename automatically such name into readable (read "compilable") form. Thnx.

+1  A: 

Visual Studio 2005/2008 refactoring could help a lot there.

Resharper refactoring is also an option.

Perica Zivkovic
VS/Resharper can't help because after decimpiling I have invalid sources. R# can't rename variables with "$" in their names.
Shrike
+1  A: 

Salamander .NET Decompiler

Xenocode Fox

John
Ok, but both of these are rather expensive.
Steven Sudit
A: 

I've been able to disassemble and re-assemble most anything with just ildasm and then .Net Reflector for viewing. Reflector seems to handle all sorts of filenames without any issue.

Eyal