Skip to content

💬 Tool for real-time inspection of the contents of IL stubs.

License

Notifications You must be signed in to change notification settings

clrinterop/ILStubDiagnostics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ILStubDiagnostics - clrinterop

The IL Stub Diagnostic Tool enables real-time inspection of the contents of IL stubs.

One of the problems with the old 32 bit marshaling infrastructure was that it worked essentially as a black box that was very difficult to debug if something went wrong. The IL Stubs Diagnostic Tool provides a window into what used to be a black box and allows you to look into the very core of interop marshaling – the IL Stub itself.

Project Description

IL stubs are dynamically generated on the fly by the CLR and handle the marshalling and invocation of the target method. The IL Stub Diagnostic tool was created to ease the interop debugging experience. It is a real-time monitor which shows the details of every IL stub generated by the CLR in a given process. For each stub, the tool currently displays its IL code as well as the signature of the managed/native methods.

License

Special thanks to Yifeng Fu for being one of the key developers of IL Stub Diagnostic tool during his internship at Microsoft.

The ILStubDiagnostics application is licensed under Microsoft Limited Public License (Ms-LPL).

Ms-LPL is based on Microsoft Public License (Ms-PL), but there is a Windows-platform limitation:

  1. (F) Platform Limitation- The licenses granted in sections 2(A) & 2(B) extend only to the software or derivative works that you create that run on a Microsoft Windows operating system product.