un-pre-JIT-compiling RRS feed

  • Question

  • As you may know most Windows applications or basicly mostlty any applications that I can get online are pre-JIT-compilied. I know that the tool ngen.exe is used to pre-JIT-compile them. But I want to look at the source code, so it became nessicary that I un-pre-JIT-compile them. Sort of like an un-ngen like thing. If there is such a tool in any visual studio version please say. (I can't download the newest version becaue I'm running vista, but soon I'll be making a Windows 8 computer so I can get visual studio and Windows SDK and such.)
    Tuesday, January 29, 2013 4:22 PM


  • Even if you run an executable through ngen, the original IL will still exist.  You can use Reflector and similar tools on it.

    If the code is obfuscated, that's a different story - you'll get the decompiled, post-obfuscated code.  There is no way to "un-obfuscate" (as that would defeat the purpose of the obfuscation in the first place).

    Reed Copsey, Jr. - http://reedcopsey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    • Marked as answer by Jakeinc Wednesday, January 30, 2013 2:04 AM
    Tuesday, January 29, 2013 6:01 PM