HLK 测试错误WDTF_TEST _Non-zero Code Integrity statistic found_Execute Pool Type Count:12

发布时间:2022-05-10 11:40:26

HLK 测试时遇到的如下错误:

图片1.png

修改意见:

呼叫ExAllocatePoolWithTag函数分配内存时,需要把NonPagedPool改成NonPagedPoolNx。

检查对ExInitializeNPagedLookasideList呼叫的地方,其中Allocate参数需要是驱动自定义的内存分配函数,使用NonPagedPoolNx类型。

微软官方说明:

图片2.png

微软官方说明文档:

https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ne-wdm-_pool_type



咨询微软徽标认证联系我们