有没有办法找到dll暴露的所有功能 [英] Is there a way to find all the functions exposed by a dll

查看:125
本文介绍了有没有办法找到dll暴露的所有功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一种方法来获取映射到dll中的函数名的所有字符串。我的意思是这个可以调用GetProcAddress的所有字符串。如果你做一个十六进制转储的dll,那么符号(字符串)就在那里,但是我想我必须有一个系统调用来获取这些名字。

解决方案

它需要一些工作,但是您可以使用 DbgHelp 库。



由John Robbins调试Microsoft .NET和Microsoft Windows的应用程序是一本非常出色的(如果是较旧的)书,其中包含使用细节和完整的来源。而且,你可以在亚马逊买到便宜的东西!


I've been searching for a way to get all the strings that map to function names in a 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.

解决方案

It takes a bit of work, but you can do this programmaticly using the DbgHelp library from Microsoft.

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屋!

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