|
请教C的语法高手:如何给union类型的全局变量赋初值?
搞清楚联合的意义好不好。 union TYPE_X { int a; char* pStr; }; 实际上你自己定义个数组不就好了 char g_Data[]={0xFF,0xFF,0xFF,0xFF}; 或者 char g_Data[]={"fdfgdgfgfg"}; 需要用时 TYPE_X * pVar=(TYPE_X *)g_Data; |
|
[求助]多核心都能实现多线程?
简单说一句:你说的这些与通常意义的多线程完全不是一回事,任何关系都没 你说的这个指的是“并行运算” 而且也不是不能实现你要的效果 但是编程复杂度不是你短时间可以搞定的 再者。。。并行计算,你先搞定GPU的再说 |
|
[求助]R0挂钩NtResumeThread如何判断是否为新进程
你XP或者03试试。。。。 |
|
[求助]R0挂钩NtResumeThread如何判断是否为新进程
这么做,只能是在hookzwresume这样的环境下有用 哪天要你搞X64,你会没辙的。。。。。 然后你会想到PsSetCreateThreadNotify,然后。。。。你会发现这个回调里,query无论如何都会失败 |
|
[求助]SSDT HOOK写的进程保护驱动,用taskkill都能干掉,怎么办
这个是窗体消息好不好 通常窗体消息处理回调里都是类似这样处理: case WM_CLOSE: { exitprocess(0); break; } 实际是自己主动退出的,当然拦截不到 |
|
请问大牛们,内核编程你们是用C还是C++呢?
1、new,delete自己重载下不就是了 2、要么不要定义 CLASS_A Obj这样的变量,只允许new出来;要么自己实现下C++库中的那几个名字很变态的符号 3、关于C++的异常处理,参考2 4、关于运行时类型识别,这个非native,非ISO支持,不讨论也罢,而且有他没他无所谓(所谓类型,仅仅告诉CPU一次操作多少个字节而已,比如LONG的话最终编译出的,CPU是一次操作了4个字节。。。。等等,没其他实质意义) 5、分页非分页,参考1 |
|
[求助]如何拦截进程启动,并获得进程的启动参数?
PEB里不是有你要的信息么 |
|
应用层反外挂技术实践
64位不是做不了,而是让那些整天除了hook就一无所知的人无从下手而已。 比如,你这个拦截远线程的处理,就可以是,在驱动设置线程创建回调,然后Zw函数查线程入口,然后patch这个入口(不用terminate thread,至于原因,自己想)。 |
|
请问大牛们,内核编程你们是用C还是C++呢?
话说。。。map这东西是stl的吧 不说试试,商用程序里面我都用了几年了 你说STL不能在驱动用。。。。。。理由呢? 我想你说不出任何可以称得上理由的理由 |
|
|
|
|
|
|
|
[原创]一键废掉QQProtect
还是那句熟悉的话。。。。都加驱动了,还有什么事情不能做的。。。。 |
|
如何在驱动中判断当前的操作系统为64位操作系统
if(sizeof(ULONG_PTR)==4) 32位 |
|
[原创]另类方法,停止qq的密码保护,截取聊天记录等
人家不修复自有理由……你都有权限替换人家dll了,还有什么不可以做?你怎么不把人家qq.exe也换了,那样不是更直接?不是人家傲慢,是你太无知 |
|
[求助]R0挂钩NtResumeThread如何判断是否为新进程
进程创建回调里,以pid为值,将bitmap对应位置位,然后在线程回调里,查找线程所属pid是否在bitmap被置位,被置位,则是新进程的第一个线程,同时清除bitmap对应bit |
|
[讨论]对ssdt hook(32)是否需要同步的问题探讨
互锁操作是可以做到同步的效果,但是,第一,互锁操作能保护的资源长度是有限的(4或者8字节),对于不是这两种长度的资源,没法保。第二,互锁操作是硬件实现的,与具体硬件相关(支持这条指令的cpu专门有个引脚是用来锁地址线的),这里讨论同步,不涉及硬件相关内容。 至于关中断,提升中断级这些,也不是完全没用,至少,可以降低出问题的几率……只不过,你不要以为你做了这些,就完事大吉了,对于挂钩来说,不存在绝对不会出问题的做法,就看你运气 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值