Skip to content

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

Open

Description

@lygstate
No description provided.

Activity

  1. bb107 commented on Jul 19, 2024

    @bb107
    Owner

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

  2. lygstate commented on Jul 19, 2024

    @lygstate
    Author

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

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

  3. bb107 commented on Jul 20, 2024

    @bb107
    Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions