|
yysn
初级用户
 
积分 65
发帖 26
注册 2010-7-29
状态 离线
|
『楼 主』:
lib库中的接口函数名称要用什么工具查看?
使用 LLM 解释/回答一下
lib库中的接口函数名称要用什么工具查看?
windows下,dll有很多工具可以查看,比如VC自带的Depends
但是dos下的lib文件,它看不了。
不知道有什么工具可以查看?
PS:我只是要函数名称而已,不是要函数接口,当然如果有神奇的工具能直接看到接口而不要反编译那最好了,呵呵。
What tools can be used to view the interface function names in the lib library?
Under Windows, there are many tools to view DLLs, such as Depends that comes with VC.
But for lib files under DOS, it can't be viewed.
I don't know what tools can be used to view?
PS: I just want the function names, not the function interfaces. Of course, if there is a magical tool that can directly see the interface without decompiling, that would be the best, heh heh.
|
|
2010-10-14 10:56 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
其实使用记事本就能看个大概
高级一点用UltraEdit或者WinHex
专业一点用Strings之类的东东
Actually, you can get a general idea by using Notepad. For a more advanced approach, use UltraEdit or WinHex. For a professional level, use tools like Strings and so on.
|
|
2010-10-14 22:23 |
|
|
yysn
初级用户
 
积分 65
发帖 26
注册 2010-7-29
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
不会吧,我用UE打开看了一下,一堆的函数名,根本不知道哪个该是我要调用的 - -
No way, I opened it with UE and there are a bunch of function names. I really don't know which one I should call - -
|
|
2010-10-25 14:58 |
|
|
cnch
中级用户
  
积分 326
发帖 70
注册 2003-1-10
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
Lib库一般在*.h文件里都能看到,很详细,仔细看吧!
Libraries are generally visible in *.h files, which are very detailed. Take a close look!
|
|
2010-11-7 00:53 |
|
|
yysn
初级用户
 
积分 65
发帖 26
注册 2010-7-29
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
当然是没有h文件了 - -
Of course, there are no h files - -
|
|
2010-11-8 22:30 |
|
|
netwinxp
高级用户
   
积分 741
发帖 366
注册 2007-7-25
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
用汇编语言带的LIB.EXE就可以导出函数和公共变量名,还可以提取对应模块的.obj文件,用obj2asm xxx.obj >xxx.asm,如果asm中没有extren模块和变量就可以通过在主程序声明该模块函数为extern然后通过link 主程序.obj+xxx.obj来使用这个函数,如果有extren模块则要同时逐步提取对应模块到没有extern模块为止。
如果懒得提取,也可以用L2INC.EXE(MASM32里面有)得到LIB的引用头文件xxx.inc(汇编语言格式)。link的时候记得把该lib连接进去。
Last edited by netwinxp on 2010-11-26 at 08:10 ]
You can use LIB.EXE that comes with assembly language to export function and public variable names, and also extract the corresponding module's.obj file. Use obj2asm xxx.obj >xxx.asm. If there are no extren modules and variables in the asm, you can declare the module functions as extern in the main program and then use this function by linking the main program.obj + xxx.obj. If there are extren modules, you need to gradually extract the corresponding modules until there are no extren modules.
If you are too lazy to extract, you can also use L2INC.EXE (available in MASM32) to get the LIB reference header file xxx.inc (in assembly language format). Remember to link the lib when linking.
Last edited by netwinxp on 2010-11-26 at 08:10 ]
|
|
2010-11-26 08:06 |
|