开发者

How to listen to dll function calls

is there any way to "li开发者_如何学Pythonsten" to when a function of a dll is called?

I would like to know what functions of a dll is called and the parameters etc....

is it possible?

thanks!


Check out WinApiOverride32. This is a really powerful monitor, with support of COM and .NET and easily customizable (you can monitor DLL internal functions as well). Also, you can write a custom DLL to override some APIs called by the target.


If you want to "listen" to WinAPI (assuming) calls (for example user32.dll, gdi32.dll, etc.) made by 3rd party programs, you want to hook (detour) those calls. If this is the case, I suggest you to visit EasyHook project page.

Also, remember you need some sort of IPC method between the two processes. Boost's message_queue has been proven to be quite handy.


There is one great debugger that might help you out: OllyDbg.

It is quite tedious to use but with no source in the hands, it is something quite useful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜