如何查找加载到进程中的 DLL 及其位置等
我使用过 Process Explorer,但我忘记了另一个实用程序,它可以让您查看进程从何处加载(图像文件),以及内存中的 dll 以及它们从何处加载。
Process Explorer 对我来说仅适用于托管程序集。
还有什么是原生的吗?
I've used Process Explorer, but I'm forgetting of another utility that lets you see where a process is loaded from (image file), and it's dll's in memory and where they got loaded from.
Process Explorer for me is only working for managed assemblies.
Anything that does native as well?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Process Explorer 应该向您显示本机模块和托管模块。尝试提升运行它。
否则,有几种方法:
tlist cmd.exe
)lm
命令CreateToolhelp32Snapshot
,Module32First
和Module32Next
推出您自己的解决方案:)Process Explorer should show you both native and managed modules. Trying running it elevated.
Otherwise, there are a few ways:
tlist cmd.exe
)lm
commandCreateToolhelp32Snapshot
,Module32First
, andModule32Next
to roll your own solution :)还有一个开源工具“Process Hacker”。
它是一个高级任务管理器。
选择任何进程,按“Enter”,选择“模块”选项卡。
There's also an open-source tool "Process Hacker".
It's an advanced task manager.
Select any process, hit "Enter", choose "Modules" tab.
Windows Sysinternals 中的 ListDLLs 是一个命令行工具,可以完成您的任务寻找:
Listdlls.exe notepad.exe
或Listdlls.exe 11524
给出:Listdlls.exe -d textinputframework.dll
给出:Listdlls.exe
(不带参数)输出所有正在运行的进程的dll。ListDLLs from Windows Sysinternals is a command line tool that does what you are looking for:
Listdlls.exe notepad.exe
orListdlls.exe 11524
give:Listdlls.exe -d textinputframework.dll
give:Listdlls.exe
(without parameters) outputs the dlls of all running processes.