Low-level utilities and tools for working with the CLR, CLR internal structures, and memory.
For a new and improved .NET 5 implementation, see Novus.
RazorSharp
aims to provide functionality similar to that of ClrMD
, WinDbg SOS
, and Reflection
but in a more detailed fashion while also exposing more underlying metadata and CLR functionality.
RazorSharp
also allows for manipulation of the CLR and low-level operations with managed objects. Additionally, RazorSharp
doesn't require attachment of a debugger to the process to acquire metadata. All metadata is acquired through memory or low-level functions.
Some structures of RazorSharp
must be set up to use certain features. Their respective type initializers and constructors should do this automatically, but this is still being tested as static initialization can be tricky.
- Calculating heap size of managed objects
- Taking the address of managed objects
- Pointer to managed types
- Pinning unblittable objects
- And much more
- 64-bit (only partial 32-bit support)
- Windows
- .NET CLR
- .NET Framework 4.7.2
- Workstation GC
Icons made by Freepik