有什么方法可以知道DLL中函数接口的参数和返回值?

wuxiao0313 2011-11-17 01:33:25
有什么方法可以知道DLL中函数接口的参数和返回值?
...全文
215 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
再见理想~ 2011-12-19
  • 打赏
  • 举报
回复
depends 没法看到参数和返回值,只能看到被导出的函数
lijianli9 2011-12-19
  • 打赏
  • 举报
回复
反汇编应该可以。
W1nds 2011-12-18
  • 打赏
  • 举报
回复
反汇编吧 最直接的方式
jamseyang 2011-12-18
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 fight_in_dl 的回复:]

可使用undname工具,假设某个decorated name为?a@@YAHD@Z。

D:\>undname -f ?a@@YAHD@Z
Microsoft« Windows« Operating System
UNDNAME Version 5.1.2600.0Copyright (c) Microsoft Corporation. All rights reserv
ed.
……
[/Quote]
学习下
hhyhw2001 2011-12-14
  • 打赏
  • 举报
回复
使用 dumpbin dll名 /exports 可以看函数名称, 但参数要反汇编
「已注销」 2011-11-27
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 fight_in_dl 的回复:]

可使用undname工具,假设某个decorated name为?a@@YAHD@Z。

D:\>undname -f ?a@@YAHD@Z
Microsoft« Windows« Operating System
UNDNAME Version 5.1.2600.0Copyright (c) Microsoft Corporation. All rights reserv
ed.
……
[/Quote]

这只是MS VC++的for C++的符号。
战在春秋 2011-11-26
  • 打赏
  • 举报
回复
可使用undname工具,假设某个decorated name为?a@@YAHD@Z。

D:\>undname -f ?a@@YAHD@Z
Microsoft« Windows« Operating System
UNDNAME Version 5.1.2600.0Copyright (c) Microsoft Corporation. All rights reserv
ed.

>> ?a@@YAHD@Z == int __cdecl a(char)

undname 通常在 Program Files\Microsoft Visual Studio\Common\Tools文件夹。
「已注销」 2011-11-26
  • 打赏
  • 举报
回复
只有一个真正可行的办法:


看文档。
yuucyf 2011-11-25
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 lactoferrin 的回复:]
反汇编
[/Quote]
反汇编.
Eleven 2011-11-25
  • 打赏
  • 举报
回复
dumpbin命令和depends.exe工具是看不到,只能看到导出的函数名而已
lulusophia 2011-11-25
  • 打赏
  • 举报
回复
depends.exe 工具
Lactoferrin 2011-11-18
  • 打赏
  • 举报
回复
反汇编
hu12180871000 2011-11-18
  • 打赏
  • 举报
回复
dumpbin

15,471

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 进程/线程/DLL
社区管理员
  • 进程/线程/DLL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧