dr7各域作用 & 异常码(过游戏检测)

来源:互联网 发布:四维星窗帘软件下载 编辑:程序博客网 时间:2024/05/16 19:53

http://hi.baidu.com/bjblcracked/item/0139c1f289a26e10c6dc4551

dr7各域作用 & 异常码



现在网上很多网络游戏,当我们修改网络游戏的内存时,哪怕是只修改一个字节.

都会被游戏都会检测到...

有的说是CRC校验,有的说是内存效验. 总之,不管他怎么效验..

我们都可以用 dr硬读 + VEH异常来过效验...

为什么用VEH,不用 UEF 或者 SEH  .?

原因很简单.

1. VEH 更底层. 执行级别最优先.

2. VEH 在堆中,不在栈中. (SEH 一般都是在Function里面使用)

3. VEH 有自己的链表. 而且当我们addvectoredexceptionhandler(1, xx)时,总是最先处理异常..

也就是说,我们在后面添加的异常过程,总是在游戏之前运行...

Help

The AddVectoredExceptionHandler function registers a vectored exception handler.

PVOIDAddVectoredExceptionHandler(ULONGPVECTORED_EXCEPTION_HANDLER);Parameters
FirstHandler
Specifies the order in which the handler should be called. If the parameter is nonzero, the handler is the first handler to be called. If the parameter is zero, the handler is the last handler to be called.
VectoredHandler
Pointer to the handler to be called. For more information, see .
原创粉丝点击