首页
社区
课程
招聘
[旧帖] [求助]关于利用NonPagedPool Memory所出现的问题! 0.00雪花
发表于: 2008-1-24 09:34 3765

[旧帖] [求助]关于利用NonPagedPool Memory所出现的问题! 0.00雪花

2008-1-24 09:34
3765
PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced.  This cannot be protected by try-except,
it must be protected by a Probe.  Typically the address is just plain bad or it
is pointing at freed memory.
Arguments:
Arg1: fdffffff, memory referenced.
Arg2: 00000001, value 0 = read operation, 1 = write operation.
Arg3: 805e67d5, If non-zero, the instruction address which referenced the bad memory
        address.
Arg4: 00000000, (reserved)

以上是驱动运行后的*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************
各位牛人能告诉我这个原因具体是什么,在程序中使用过:
checkpool = non_paged_memory = ExAllocatePool(NonPagedPool, 256);
        if (checkpool=!NULL)
        {
                 DbgPrint("exallocatepool! success! ");
        }
       
        // copy contents of our function into non paged memory
        // with a cap at 256 bytes (beware of possible read off end of page FIXME)
        for(i=0;i<256;i++)
        {
                ((unsigned char *)non_paged_memory)[i] = ((unsigned char *)my_function_detour_seaccesscheck)[i];
        }

但是dbgprint返回都是正常的.

[培训]科锐逆向工程师培训第53期2025年7月8日开班!

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
有人知道吗?提个醒也可以
2008-1-24 10:22
0
游客
登录 | 注册 方可回帖
返回