Wanted: WinAPI calls logger

吃可爱长大的小学妹 提交于 2020-01-13 10:42:09

问题


There was an "API Monitor" program, but it seems discontinued. Doesn't work on my system. Is there any such tool, which can work on Windows 7 x64? I need to log API calls from a selected set, better when parameter values.


回答1:


Heres is an list of such tools: http://www.woodmann.com/collaborative/tools/index.php/Category:API_Monitoring_Tools. You could try the first one, its OpenSource and was last updated this year: http://jacquelin.potier.free.fr/winapioverride32/

Edit: You could try this one for x64 http://www.autodebug.com/




回答2:


There's also Detours, free from Microsoft, it's a library to hook the windows API, but it's not a complete monitor program, you have to do some work to intercept the API calls.




回答3:


I use the API Monitor tool at http://www.rohitab.com/apimonitor. It's not abandoned, the author seems to be releasing regular updates including some from the past year. I found it relatively easy to learn, and have used it to discover API calls made by some components of Windows that I was studying, among other debugging tasks.




回答4:


http://www.bladeapimonitor.com/ seems to be doing what you need.

Depending on what you want to see, Procmon might also do the job.




回答5:


With every version of Visual Studio comes Spy++ tool, which let's you monitor all messages in choosen process, window or thread, but not API, unfortunately.



来源:https://stackoverflow.com/questions/2825960/wanted-winapi-calls-logger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!