有没有办法找到一个DLL公开的所有功能 [英] Is there a way to find all the functions exposed by a dll
问题描述
我一直在寻找一种方式来获得所有映射在DLL函数名的字符串。
I've been searching for a way to get all the strings that map to function names in a dll.
我的意思是这一切,你可以调用GetProcAddress的字符串。如果你做一个DLL符号(串)是否有一个十六进制转储但我想必须有我一个系统调用来获取那些名字。
I mean by this all the strings for which you can call GetProcAddress. If you do a hex dump of a dll the symbols (strings) are there but I figure there must me a system call to acquire those names.
推荐答案
这需要一些工作,但你可以做到这一点programmaticly使用的DbgHelp 库。
It takes a bit of work, but you can do this programmaticly using the DbgHelp library from Microsoft.
由约翰·罗宾斯调试的Microsoft .NET和Microsoft Windows中,应用程序是一个很好的(如果年纪大一点)一书,其中包含使用的详细信息和完整的源代码。而且,你可以把它捡起来亚马逊的便宜!
Debugging Applications for Microsoft .Net and Microsoft Windows, by John Robbins is an excellent (if a little older) book which contains use details and full source. And, you can pick it up on Amazon for the cheap!
这篇关于有没有办法找到一个DLL公开的所有功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!