How to find DLL's loaded into a process and it

2019-02-09 11:17发布

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?

标签: dll process
2条回答
甜甜的少女心
2楼-- · 2019-02-09 11:36

Process Explorer should show you both native and managed modules. Trying running it elevated.

Otherwise, there are a few ways:

  1. Use tlist.exe, part of the Debugging Tools for Windows package (e.g. tlist cmd.exe)
  2. Attach the VS debugger and look in the modules window (Ctrl+Alt+U) or attach WinDbg and use the lm command
  3. Use CreateToolhelp32Snapshot, Module32First, and Module32Next to roll your own solution :)
查看更多
我只想做你的唯一
3楼-- · 2019-02-09 11:44

There's also an open-source tool "Process Hacker".

It's an advanced task manager. Select any process, hit "Enter", choose "Modules" tab.

查看更多
登录 后发表回答