clr-profiling-api
CLR profiler: issue in using DefineAssemblyRef
I want to write a CLR profiler to hook our application function with GetILFunctionBody/SetILFunctionBody.[详细]
2023-03-23 18:48 分类:问答Is is possible to use Profiling API right from C#?
I just want to use .NET Profiling API (ICorProfilerCallback etc) but at the same time don\'t want to deal with C++. I\'ve been looking around for a while and haven\'t found any example in C# but C# 开[详细]
2023-02-27 05:03 分类:问答Why can't the profiler attach?
I wrote a small profiler for .NET applications. It uses the ICorProfilerCallback2 interface. The profiler attaches and works well for .NET 2.0 application but doesn\'t work for .NET >2.0 (3.0, 3.5, 4[详细]
2023-01-12 07:52 分类:问答Do I need to write my own unmanaged IL library to rewrite IL with the CLR Profiling API?
I\'ve been looking at some of the articles for the CLR Profiling API, and many of those articles talk about calling SetILFunctionBody() to do the actual IL rewriting; however, none of those articles a[详细]
2022-12-20 11:05 分类:问答