书中代码没问题,但并没有实现修改加密,我想改进一下思路是:对于原来的文件,同样是在有写意愿时,在IRP_MJ_CREATE的预处理中,将原来的数据往后移动4K(标记长度)然后在原文件的起始处添加标记4K,同时设置需要进行后处理的标记,传递下去,把刚才的文件,加入到加密表中大概思路...
全文
回复(3) 2009-08-17 20:12 来自版块 - 文件系统(过滤)驱动程序开发
表情
fancylf引用第2楼confused_ddk于2009-08-18 15:16发表的 : There are many reasons can crash your fragile codes, such as cache/memory file etc., try to search ...(2009-08-18 16:37)
confused_ddkThere are many reasons can crash your fragile codes, such as cache/memory file etc., try to search why on osr's list. http://www.osron...(2009-08-18 15:16)
fancylf我使用的是从前往后移动的方法,代码如下: NTSTATUS cfLargeFileInsertHeader(PDEVICE_OBJECT next_dev, P...(2009-08-17 20:17)

返回顶部