|
[求助]寒江独钓中的一个问题
CurrentLocation不会为0的吧,最小为1! |
|
[求助]寒江独钓中的一个问题
那SkipCurrentIrpStackLocation和CopyCurrentToNextIrpStack的区别就是少了个栈空间? |
|
[原创]IRP Hook 键盘Logger
不太明白为什么会在unload的调用KeSetPriorityThread: // 把当前线程设置为低实时模式,以便让它的运行尽量少影响其他程序。 KeSetPriorityThread(CurrentThread, LOW_REALTIME_PRIORITY); |
|
[求助][求助]有没有人用过VisualDDK调试驱动的?按照他的步骤到第6步怎么也没法连接成功啊!
visualddk的bug真多啊,VirtualKD倒是蛮有用的! |
|
[求助][求助]有没有人用过VisualDDK调试驱动的?按照他的步骤到第6步怎么也没法连接成功啊!
汗,是我比较傻,搞定了! |
|
[求助]如何获取 SYSTEM_PROCESSES 结构
顶,偶也想知道! |
|
[原创]科普一下CPUID的正确用法
关于function num,Intel貌似是这样处理的: 1.如果num的最高位为0,并且大于允许的max num的话,就和max num是一样的吧; 2.如果num的最高位为1,并且大于允许的max num的话,最高位将被置0,接下来就参照1. 不知道amd是不是也这样的,好像没看到有说明。 |
|
[原创]获取CPU信息
获取CPU名称这个应该是一样的,其他的可能有不同。汗,我觉得应该加个判断程序是否支持CPUID指令比较好,不过貌似现在的主流CPU都是支持的,除了N年前的古董。贴张Intel的图! |
|
[原创]ESET ID自动获取填写工具 (ASM)
好东西,学习下!气泡那个只适用win2k及其以上吧! |
|
[求助]求人帮忙把汇编语言程序翻译成C或者C++
CString GetCpuId()//获取CPU唯一标识符 { CString CPUID; unsigned long s1,s2; unsigned char vendor_id[]="------------"; char sel; sel='1'; CString VernderID; CString MyCpuID,CPUID1,CPUID2; switch(sel) { case '1': //获取CPU制造厂商名称字串,intel是"GenuineIntel",AMD是"AuthenticAMD" __asm{ xor eax,eax cpuid mov dword ptr vendor_id,ebx mov dword ptr vendor_id[+4],edx mov dword ptr vendor_id[+8],ecx } VernderID.Format("%s-",vendor_id); //eax的返回值表示CPU的系列,类型和工艺制程 //edx的返回值表示CPU的一些特性标志值 __asm{ mov eax,01h xor edx,edx cpuid mov s1,edx mov s2,eax } CPUID1.Format("%08X%08X",s1,s2); //获取96位处理器序列号的低64位(只有低64位才是不同的),貌似就P3才有的(我获取的都是0).ecx是0-31位,edx是32-63位。 //需通过如下方式先判断是否支持处理器序列号 /* mov eax,1 CPUID shr edx,18 test edx,01h jz unsupport support */ __asm{ mov eax,03h xor ecx,ecx xor edx,edx cpuid mov s1,edx mov s2,ecx } CPUID2.Format("%08X%08X",s1,s2); break; //关闭处理器序列号支持,重启恢复 //rdmsr和wrmsr是特权指令,需要在ring0下才可以吧 case '2': { __asm{ mov ecx,119h rdmsr or eax,00200000h wrmsr } } AfxMessageBox("CPU id is disabled."); break; } MyCpuID = CPUID1+CPUID2; CPUID = MyCpuID; return CPUID; } |
|
[分享]我做的挂机锁、防止关机(开源)
汗,貌似很强,看代码去! |
|
[求助]我写的这个win32汇编小程序出啥问题啦
楼上说的没错!invoke SetTimer,hWin,NULL,1000,addr _ProcTimer这样不知是不是也行,另外窗口关闭时怎么不killtimer! |
|
[求助]intel CPUID指令中的一段英文不太明白!
多谢rockinuk和sessiondiy,,话说http://home.educities.edu.tw/wanker742126/这个网站的好东西不少,貌似有个小木偶的FPU详解也是在哪的! |
|
[求助]intel CPUID指令中的一段英文不太明白!
不對吧,80h=1000 0000 b。是參數大於等於80000000h,並且第31位小於等於返回值第31位?那不就是大於等於80000000h,小於等於返回值? |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值