VS2010高级版的非托管C ++ Dll分析 [英] Unmanaged C++ Dll profiling with VS2010 premium

查看:101
本文介绍了VS2010高级版的非托管C ++ Dll分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

我对使用VS2010高级版进行配置有疑问.

I have a question about profiling with VS2010 premium.

也就是说,我只有几个可运行于一个可执行文件的Dll.

Namely I have few Dlls which I run with one executable.

这是我的应用程序的地图:

This is the map of my app :

Test.exe-> ProcessingModule.dll-> BaseModule.dll-> CommonCode.dll.

Test.exe -> ProcessingModule.dll -> BaseModule.dll -> CommonCode.dll.

当我分析整个应用程序时,我不会得到所有的调用树"功能.在个人资料结果中.即,我想看看在CommonCode.dll中调用了哪些函数,相反,我仅从ProcessingModule.dll中获得结果,而没有更深入的了解.

When I profile whole application I don't get all funtions "call tree" in profile results. Namely, I would like to see which functions get called in CommonCode.dll, instead I get only results from ProcessingModule.dll, but no further in depth.

请帮助我进行正确的dll分析.我阅读了所有有关概要分析的可用文档,但是仍然无法正确完成.

Please help me with proper dll profiling. I read all available documentation on profiling, but still can't do it properly.

谢谢.

推荐答案

嗨spe7,

Hi spe7,

感谢您在MSDN论坛中的帖子.

Thanks for your post in the MSDN Forum.

据我所知,Dependency Walker是一个免费的实用程序,可扫描任何32位或64位Windows模块(exe,dll ,ocx,sys等),并构建所有相关模块的分层树状图.对于每个 找到找到的模块,它列出了该模块导出的所有功能,以及其他模块实际上正在调用的功能.

As far as I know, Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules.

我建议您尝试使用Dependency Walker工具来查找有关Test.exe和三个DLL的更有用的信息.如果您想了解有关Dependency Walker的更多信息,请参考以下链接: http://www.dependencywalker.com/.

I suggest you try Dependency Walker tool to find out more useful information about Test.exe and the three DLLs. If you want to know more about Dependency Walker, please refer to this link: http://www.dependencywalker.com/.

最好的问候,

赵慧伦


这篇关于VS2010高级版的非托管C ++ Dll分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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