查询动态库文件(Windows *.dll, Linux *.so)所依赖的文件
发布时间:2020-12-14 03:56:57 所属栏目:Windows 来源:网络整理
导读:1.Windows下查询dll/exe所依赖的文件: 工具:VS?自带dumpbin.exe,?例如 C:Program Files (x86)Microsoft Visual Studio 14.0VCbin?下 若: Image has the following delay load dependencies ,列出的为运行时动态加载的dll。 Image has the following
1.Windows下查询dll/exe所依赖的文件:工具:VS?自带dumpbin.exe,?例如
1 C:Program Files (x86)Microsoft Visual Studio 14.0VCbin>dumpbin.exe /dependents D:pyCQATestCasenbody.exe 2 Microsoft (R) COFF/PE Dumper Version 14.00.24215.1 3 Copyright (C) Microsoft Corporation. All rights reserved. 4 5 6 Dump of file D:pyCQATestCasenbody.exe 7 8 File Type: EXECUTABLE IMAGE 9 10 Image has the following dependencies: 11 12 glew64.dll 13 freeglut.dll 14 KERNEL32.dll 15 OPENGL32.dll 16 GLU32.dll 17 18 Summary 19 20 7000 .data 21 1000 .nvFatBi 22 118000 .nv_fatb 23 5000 .pdata 24 25000 .rdata 25 2000 .reloc 26 1000 .rsrc 27 53000 .text 28 1000 .tls ? 查看dll文件,其实也有很多dll依赖 C:Program Files (x86)Microsoft Visual Studio 14.0VCbin>dumpbin.exe /dependents D:pyCQATestCasefreeglut.dll Microsoft (R) COFF/PE Dumper Version 14.00.24215.1 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file D:pyCQATestCasefreeglut.dll File Type: DLL Image has the following dependencies: KERNEL32.dll USER32.dll GDI32.dll ADVAPI32.dll OPENGL32.dll WINMM.dll Summary A000 .data 3000 .pdata 1F000 .rdata 2000 .reloc 1000 .rsrc 22000 .text ? 2.?Linux?下直接用ldd?即可 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 使用Windows 7- 64位更新Android SDK Tools rev 19 to rev
- microsoft-teams – 如何调试Microsoft Teams选项卡中执行的
- 将Windows Azure项目从Gallery加载到Visual Studio 2012中
- 如何在Windows上使用TensorFlow和AMD GPU?
- Windows FILETIME结构是否包含闰秒?
- 如何使用Windows身份验证对中间层上的用户进行身份验证
- windows-server-2012 – Windows Server 2012:添加/删除程
- .net – 在Windows和单声道上的SQLite?
- 我是否需要添加此头文件“stdafx.h”以在Windows中运行c程序
- 适用于Windows或Mac上PostgreSQL的良好前端