Is there an example of rewriting IL memory (Profiler API)?

I saw that the profiler API can do this. Does anyone know an example other than this: http://www.codeproject.com/Articles/17275/Really-Easy-Logging-using-IL-Rewriting-and-the-NET Because I can't even compile it. I am very interested in this.

+4
source share
3 answers

Fody

https://github.com/Fody/Fody

Extensible tool for weaving .net assemblies

Introduction

Manipulating an IL assembly as part of an assembly requires a significant amount of plumbing code. This plumbing code includes knowledge of both MSBuild and the Visual Studio API. Fody is trying to eliminate this plumbing code with an extensible add-in.

+1
source

Check out StaticProxy . very easy to use.

+1
source

Profiling API David Broman Blog: Creating an IL Rewriting Profiler

This blog contains a lot of information regarding rewriting IL.

0
source

All Articles