【问题标题】:How to resolve this error while build kernel hook driver using WDK?使用 WDK 构建内核挂钩驱动程序时如何解决此错误?
【发布时间】:2013-02-02 10:35:09
【问题描述】:

我尝试在 windows7 x64 中使用 WDK 构建内核挂钩驱动程序。我用的是专业菜鸟书第3章的代码,但出现2个错误

1. c:\chapter03ghost\src\hookmanager.obj : error LNK2001: unresolved external sym
bol __imp_KeServiceDescriptorTable

2. c:\chapter03ghost\src\objchk_win7_amd64\amd64\comint32.sys : error LNK1120: 1
unresolved externals

帮帮我!

【问题讨论】:

  • 很可能 KeServiceDescriptorTable 在较新的 WDK 版本中不再可寻址。
  • 我使用的是WDK 7.0。如何解决这个错误?

标签: driver wdk


【解决方案1】:

微软决定,KeServiceDescriptorTable 不再能够在 x64 模式下导入,并添加了 PatchGuard 技术来保护 SSDT 和 Shadow SSDT。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-26
    • 1970-01-01
    • 2011-08-03
    • 1970-01-01
    相关资源
    最近更新 更多