功能信息是否有任何WIN API? [英] is there any WIN API for functions info?

查看:54
本文介绍了功能信息是否有任何WIN API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在想,有什么方法可以获得有关此类事情的信息:

I was wondering, is there any way i can get info about such things:

1。我的申请目前有多少功能? 

1. how many functions my application currently have? 

2。我的应用程序(或其他进程)当前正在运行的功能。

2. which functions my app(or other process) are currently running.

3。我可以获得除main之外的任何函数的entryPoints(地址)(我知道如何获得)。

3. can i get entryPoints(addresses) of any functions except main(that one i know how to get).

4。有没有办法"注意"执行(或调用)函数,如果会运行?

4. is there a way to "notice" execution(or call) of a function, if that would run?




推荐答案

你好,

IMO有没有Win API可以解答您的问题。

IMO there is no Win API for your questions.

但是,让我尝试回答您的一些问题:

But let me try to answer some of your questions:

1。阅读:
https://stackoverflow.com/questions/18889713/counting -functions-in-c-source-code

2。不可能来自"外部"。但是在您的应用中,您可以记录您的功能,例如到文件中。

2. not possible from "outside". But in your app you can for example log your functions, e.g. into a file.

3。如果你有一个DLL,那么你知道从导出文件。在我读到app.exe之前的某个时间可以被视为与dll相同,所以它可能是可能的,但我不知道如何。

3. if you have a dll, then you know from export file. Some time before I read that app.exe can be considered same as a dll, so it may be possible, but I don't know how.

4。你的功能本身必须设置一个"通知",例如记录,看看2号。

4. your function itself must set a "notice", e.g. logging, look at number 2.

问候,Guido


这篇关于功能信息是否有任何WIN API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆