bitfaster / JitExplorer

Like compiler explorer, but for .NET JIT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Like compiler explorer, but for .NET JIT.

License:MIT License


Languages

Language:C# 100.0%