(Windows) Monitoring API calls in C

后端 未结 5 522
悲哀的现实
悲哀的现实 2020-12-09 05:27

Is there anyway to monitor API calls on your system in C?

相关标签:
5条回答
  • 2020-12-09 05:59

    The Debugging Tools for Windows package includes a debugger extension called logexts.dll which can log Win32 API function calls. It also has a separate front-end program called logger.exe for when you don't want to attach the debugger.

    0 讨论(0)
  • 2020-12-09 05:59

    On a function-by-function base, you can use Microsoft Detours. It intercepts API calls by rewriting the function entry points to point to your code.

    0 讨论(0)
  • 2020-12-09 06:04

    Another tool to look at is ProcessMonitor from Mark Russinovich. It doesn't monitor all api calls, however.

    0 讨论(0)
  • 2020-12-09 06:06

    Although it isn't free, you may want to look into API Monitor. It has the ability to log to XML files, so you could determine the APIs that have been called by reading this file in your application of choice.

    0 讨论(0)
  • 2020-12-09 06:16

    API Monitoring Tools has an extensive list of API Monitoring Tools. I used PIX for monitoring DirectX calls. You should give a try to Rohitab's Api Monitor.

    0 讨论(0)
提交回复
热议问题