-
-
[求助]最近学习驱动SSDT HOOK遇到的麻烦
-
发表于:
2009-2-6 21:47
5225
-
最近学习驱动 UNDOCUMENT2000 学习内核HOOK,用DDK编译驱动老是这个错误,好久都找不到怎么回事,只好来论坛求教各位DX了,错误信息如下
1>driver.obj : error LNK2001: unresolved external symbol "struct _ServiceDescriptorEntry KeServiceDescriptorTable" (?KeServiceDescriptorTable@@3U_ServiceDescriptorEntry@@A)
1>objchk\i386\HelloDDK.sys : fatal error LNK1120: 1 unresolved externals
代码如下
typedef struct _ServiceDescriptorEntry {
unsigned int *ServiceTableBase;
unsigned int *ServiceCounterTableBase; //Used only in checked build
unsigned int NumberOfServices;
unsigned char *ParamTableBase;
} ServiceDescriptorTableEntry, *PServiceDescriptorTableEntry;
extern ServiceDescriptorTableEntry KeServiceDescriptorTable;
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)