开发者

.NET Reflector error in generating code

I used Reflector 6.8 to disassemble a binary. It shows the Class tree view. Even the declaration of methods of the classes , but "Expand Methods" errors ou开发者_StackOverflowt with some error like "Block statement count of 0 during conditional expression translation"

Then I tried to use Telerik's JustDecompile (in Beta), it worked fine for 1 of the 10-15 assemblies i have. But for another assembly it simply shoots up in memory to 1.5 GB and hangs.

Is there any other stable decompiler I can use to generate C# code ?


The only other one that I know of is IL Spy.

You should report errors in Reflector to the guys at Red Gate.


The no-op loops were probably added by some obfuscator.


Based upon the available information, I believe you may be using an obfuscated assembly.

The current Telerik JustDecompile beta (2011.1.728.1) does not offer support for decompiling obfuscated assemblies. It is very efficient at decompiling non-obfuscated assemblies, though, and its memory footprint is getting smaller with every update. The memory usage you observed is unusual. If you can share more detail over email about the assembly you’re using, we’ll try to reproduce and fix this specific case (chris.eargle [at] telerik.com).

Meanwhile, if you’d like to see more support in future JustDecompile updates for obfuscated assemblies, please share your feedback on the JustDecompile UserVoice so others can vote for the idea: http://justdecompile.uservoice.com.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜