Quantcast
Channel: ATL – Pavel's Blog
Browsing all 3 articles
Browse latest View live

Writing a .NET Profiler

I was recently asked how a managed application can know the actual size of managed objects it allocates. Although there exists a Marshal.SizeOf method that seemingly can do the trick, this only works...

View Article



Image may be NSFW.
Clik here to view.

Hooking COM Classes

There are some common scenarios that benefit from the ability to hook operations. The canonical example is hooking Windows API functions for debugging purposes, or for malware detection. In this...

View Article

Intercepting COM Objects with CoGetInterceptor

A while back I wrote about COM interception with CoTreatAsClass. The idea there is to redirect a CLSID to another CLSID implemented by the interceptor. This has the advantage of automatic redirection...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images