https://github.com/akeit0/jitinspect
JitInspect disassembles JIT compiled managed methods to a x86/x64/Arm64 ASM.
https://github.com/akeit0/jitinspect
Last synced: 2 days ago
JSON representation
JitInspect disassembles JIT compiled managed methods to a x86/x64/Arm64 ASM.
- Host: GitHub
- URL: https://github.com/akeit0/jitinspect
- Owner: Akeit0
- License: other
- Created: 2025-02-17T01:56:54.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-02-20T01:52:53.000Z (3 months ago)
- Last Synced: 2025-04-23T03:43:57.707Z (25 days ago)
- Language: C#
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JitInspect
[](https://www.nuget.org/packages/JitInspect)
[](LICENSE)JitInspect disassembles JIT compiled managed methods to a x86/x64/Arm64 ASM.
Inspired by [JitBuddy](https://github.com/xoofx/JitBuddy)## NuGet
https://www.nuget.org/packages/JitInspect
```
dotnet add package JitInspect
```## Usage
```C#
using JitInspect;var action = TestMethod;
Console.WriteLine(action.Method.Disassemble());static void TestMethod(int a, int b)
{
Console.WriteLine(a + b);
}
```
Output:
```asm
; Program.<$>g__TestMethod|0_0(Int32, Int32)
L0000: add ecx, edx
L0002: jmp qword ptr [0x7ffeffe84e88]; System.Console.WriteLine(Int32)```
# Credits
- [JitBuddy](https://github.com/xoofx/JitBuddy)
- [ClrMD](https://github.com/Microsoft/clrmd)
- [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet)
- [iced](https://github.com/icedland/iced)
- [Capstone.NET](Gee.External.Capstone.Arm64)# LICENSE
MIT