https://github.com/bitfaster/jitexplorer
Like compiler explorer, but for .NET JIT.
https://github.com/bitfaster/jitexplorer
dotnet jit
Last synced: 7 months ago
JSON representation
Like compiler explorer, but for .NET JIT.
- Host: GitHub
- URL: https://github.com/bitfaster/jitexplorer
- Owner: bitfaster
- License: mit
- Created: 2020-06-29T19:00:40.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2021-01-13T21:20:28.000Z (over 5 years ago)
- Last Synced: 2024-04-28T05:58:30.809Z (about 2 years ago)
- Topics: dotnet, jit
- Language: C#
- Homepage:
- Size: 226 KB
- Stars: 27
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JitExplorer
Like [Compiler Explorer](https://godbolt.org/), but for .NET JIT.
 
C# source code is compiled to an executable using [Roslyn](https://github.com/dotnet/roslyn), then executed. While it is executing, and after JIT is complete, [ClrMD](https://github.com/microsoft/clrmd) is attached and the methods are decompiled using [Iced](https://github.com/0xd4d/iced). The code that does this is forked from [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet/tree/master/src/BenchmarkDotNet.Disassembler.x64).
The advantage of this approach vs using [JitDasm](https://github.com/0xd4d/JitDasm) is that it supports dissassembly of generic methods:

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