|
[原创]wifi安全
看看.. |
|
[求助]
具体一点 |
|
珠海奥宁软件
哦,没人啊。。。。。 |
|
[讨论]前辈们进来一下
顶顶。。。 |
|
[求助]TDI过滤驱动老是蓝屏
[QUOTE=lwtlwj;1358326]问题不是调用了IoCallDriver导致的,我估计应该是你构造的IRP,或者传入的IRP有问题,导致了下层驱动处理的产生了问题。其实tdifw源代码写的都很清楚了,好好对比一下自己的代码和tdifw源代码,应该能够找到问题了。把tdifw好好研究一下,有道是:磨刀不误砍柴工。 PS:我感觉出问题. 谢谢你了,我再好好看看 |
|
[求助]TDI过滤驱动老是蓝屏
我把调用IoCallDriver放到了WorkItem里,但还是相同的问题,楼上有贴的调用栈信息 |
|
[求助]TDI过滤驱动老是蓝屏
刚才把调用放在WorkItem里面,但还是出了同样的问题 VOID TDIFltClass::WorkItemRoutine(PDEVICE_OBJECT DeviceObject,PVOID Context){ WorkItemContext* WorkContext=(WorkItemContext*)Context; TDIFltExt* Exten=(TDIFltExt*)DeviceObject->DeviceExtension; TDI_ADDRESS_INFO* Address=(TDI_ADDRESS_INFO*)ExAllocatePool(NonPagedPool,sizeof(TDI_ADDRESS_INFO)+10); if(Address==NULL){ ExFreePool(Context); return; } PMDL Mdl=IoAllocateMdl(Address,sizeof(TDI_ADDRESS_INFO)+10,FALSE,FALSE,NULL); if(Mdl==NULL){ ExFreePool(Address); ExFreePool(Context); return; } MmBuildMdlForNonPagedPool(Mdl); TdiBuildQueryInformation(WorkContext->QueryIrp,Exten->LowerDevice,WorkContext->FileObject,QueryOperatComplete,NULL,TDI_QUERY_ADDRESS_INFO,Mdl); NTSTATUS status; status=IoCallDriver(Exten->LowerDevice,WorkContext->QueryIrp); if(status!=STATUS_PENDING&&!NT_SUCCESS(status)){ if(Mdl!=NULL){ IoFreeMdl(Mdl); } if(Address!=NULL){ ExFreePool(Address); } } ExFreePool(Context);//释放上下文 } |
|
[求助]TDI过滤驱动老是蓝屏
这些函数都可以在DPC级别调用,可以说的细一点吗 |
|
|
|
[求助]TDI过滤驱动老是蓝屏
MSDN我看了,但是我没有调用过MmUnlockPages ,MmUnmapLockedPages之类的函数,那 nt!MmUnlockPages+0x557调用 是怎么来的? 我应该怎么修改? |
|
[求助]TDI过滤驱动老是蓝屏
WO ZAI DING!111 |
|
[求助]TDI过滤驱动老是蓝屏
看了你的源码,核心步骤与你相同,非说不同的话,在查询地址的完成函数里,你是将要查询的地址打算存放的原始地址作为完成函数的上下文传进了查询地址完成函数,而我是从IRP->MdlAddress通过MmGetSystemAddressByMdlSafe得到存放查询的地址的原始地址,这应该没问题吧? 麻烦你再看看我的代码,实在没辙了 |
|
[求助]TDI过滤驱动老是蓝屏
ZI DING,,ZEN ME MEI REN LAI |
|
[求助]TDI过滤驱动老是蓝屏
顶一下。。。 |
|
[求助]TDI过滤驱动老是蓝屏
我的MDL使用没问题啊?大家帮忙看看 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值