Thursday, April 12, 2012

Notes on dynamically modifying CLR code.

Some notes for a possible project:

How edit and continue is implemented:
http://blogs.msdn.com/b/jmstall/archive/2005/02/19/376666.aspx

Writing debugger in .NET: An entire debugger with edit-and continue. The link ABOVE explains how to make delta files used in this debugger.
http://www.microsoft.com/download/en/details.aspx?id=2282

Simpler debugger in .NET wrappers.
https://tripleemcoder.wordpress.com/2011/12/10/writing-an-automatic-debugger-in-15-minutes-yes-a-debugger/

Using debugger APIs (this is most interesting -- works on live code).
http://msdn.microsoft.com/en-us/library/bb384380.aspx

Reflector/Reflixil (on an assembly, not live):
http://www.codeproject.com/Articles/20565/Assembly-Manipulation-and-C-VB-NET-Code-Injection

Similar to above (REBEL.NET):
http://ntcore.com/files/netint_injection.htm

CLR Injection:
http://www.codeproject.com/Articles/37549/CLR-Injection-Runtime-Method-Replacer

KEYWORDS:
CLR INJECTION
JITCachedFunctoinSearchStarted
Edit and continue (debugger)

No comments: