JitExplorer icon indicating copy to clipboard operation
JitExplorer copied to clipboard

Like compiler explorer, but for .NET JIT.

JitExplorer

Like Compiler Explorer, but for .NET JIT.

.NET Core GitHub release (latest SemVer)

C# source code is compiled to an executable using Roslyn, then executed. While it is executing, and after JIT is complete, ClrMD is attached and the methods are decompiled using Iced. The code that does this is forked from BenchmarkDotNet.

The advantage of this approach vs using JitDasm is that it supports dissassembly of generic methods:

image

References

https://github.com/aelij/RoslynPad https://github.com/dotnet/BenchmarkDotNet/tree/master/src/BenchmarkDotNet.Disassembler.x64 https://github.com/icsharpcode/ILSpy