Hello, is there any way to "listen" 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!
Hello, is there any way to "listen" 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!
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.
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.