Thomas
Thomas

Reputation: 177

.NET compilation without JIT possible?

Is it possible to compile a .cs directly in x86 code ? I mean, I want to observe what happened with IDA Pro, so I didn't want IL code but asm code.

Thanks

Upvotes: 1

Views: 307

Answers (2)

SK-logic
SK-logic

Reputation: 9725

IDA won't load native parts from NGEN'd assemblies, unfortunately. The only way I found was to use the Visual Studio debugger.

If you're not interested specifically in the Microsoft .NET framework internals, but in any other JIT as well, you can play with mono --aot, which produces normal PE or ELF executables (and even the readable assembler sources).

Upvotes: 1

MikeB
MikeB

Reputation: 483

Take a look at Ngen.exe.

Upvotes: 4

Related Questions