Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内存加载的dll可以进行debug么,让调试器识别对应的pdb文件 #50

Open
lygstate opened this issue Jul 19, 2024 · 3 comments

Comments

@lygstate
Copy link

No description provided.

@bb107
Copy link
Owner

bb107 commented Jul 19, 2024

你好,调试器根据调试事件中的LOAD_DLL_DEBUG_EVENT来获取已加载的DLL,该事件在内核中产生并传递,内存模块不经过NtMapViewOfSection,因此让调试器识别内存模块是困难的。

@lygstate
Copy link
Author

你好,调试器根据调试事件中的LOAD_DLL_DEBUG_EVENT来获取已加载的DLL,该事件在内核中产生并传递,内存模块不经过NtMapViewOfSection,因此让调试器识别内存模块是困难的。

如果是这样,是不是要写一个驱动来实现此功能,对于发布的应用是不需要的,不过对于开发人员是需要此功能的?

@bb107
Copy link
Owner

bb107 commented Jul 20, 2024

对,需要使用驱动程序来辅助调试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants