views:

1611

answers:

3

Is it possible to decompile an executable that when trying to decompile w/ Reflector, errors out with "Module ... does not contain a CLI header.", and if so, how to decompile this to C#?

Thank you.

+2  A: 

Reflector can only decompile assemblies. The reason for this is that .Net can only load and execute assemblies, not modules. The module must belong to an assembly. Find that, and the module will be loaded.

EDIT: after rereading, it seems to me more likely that you have a non-.Net DLL.

codekaizen
+6  A: 

That would most likely indicate that it's not a managed assembly. Which means Reflector won't be able to decompile it.

Kevin Dente
A: 

Its most likely obfuscated. Obfuscating .Net exes will cause Reflector to show this message.

logicnp