|
[原创]再发几个好东西,windbg可编译源码
求被找麻烦。 |
|
[求助]Icesword 是怎样通过HOOK KebugCheckEx判断内存地址有效
就算解决不循环跳到KebugCheckEx的问题后还是会有几个问题的。 比如有的工作集锁在进入KebugCheckEx后也没被释放掉。详情见http://hi.baidu.com/weolar/blog/item/032f207fd7804a0329388ad0.html |
|
请教Win7下ObReferenceObjectByName 打开hidusb驱动失败
这玩意设备被独占打开了。所以遍历目录对象再直接获取他的指针吧 |
|
|
|
[原创]注册表文件解析完整解决方案
支持vista不? |
|
[求助]请教一下,多处理器下同步的问题,请大家进来看一下我的具体描述.请大家帮帮我
RKU就是 ext:00010497 cli .text:00010498 mov eax, cr0 .text:0001049B mov dword_15754, eax .text:000104A0 and eax, 0FFFEFFFFh .text:000104A5 mov cr0, eax .text:000104A8 lea esi, [ebp+var_18] .text:000104AB mov ebx, [esi] .text:000104AD mov ecx, [esi+4] .text:000104B0 mov esi, [ebp+arg_0] .text:000104B3 mov eax, [esi] .text:000104B5 mov edx, [esi+4] .text:000104B8 wbinvd .text:000104BA lock cmpxchg8b qword ptr |
|
[求助]请教一下,多处理器下同步的问题,请大家进来看一下我的具体描述.请大家帮帮我
我说的是以防万一。 RKU就是这样的。 每个cpu为了效率,几乎都会提前好几个时钟周期预取指令,叫做prefetch. 到底会提前多少对于不同的cpu就不一定,Intel的P4cpu的预取队列十分的长, 这说明P4的cpu会提前很久预取指令。 |
|
[求助]请教一下,多处理器下同步的问题,请大家进来看一下我的具体描述.请大家帮帮我
另外再提一下,inline hook如果只需要修改8个字节一下, intel提供了个lock cmpxchg8b qword ptr [xxx];指令可以原子操作,比用各种同步操作方便多了。 不过以防万一,记得cmpxchg8b完了后再刷新一下TLB。 |
|
[求助]请教一下,多处理器下同步的问题,请大家进来看一下我的具体描述.请大家帮帮我
你们都说错了。我还是说清楚吧,KeFreezeExecution在单核下确实只要cli就行了。 但在多核下肯定不行。事实上cpu的apic早就提供了ipi机制,也就是处理器间中断。 KeFreezeExecution首先判断本cpu有没有被中断,如果是则调用KiIpiServiceRoutine响应ipi例程。 否则调用KiIpiSend发送IPI中断。这是个NMI(不可屏蔽),别的cpu会由apic执行KiIpiServiceRoutine。 至于KiIpiSend是怎么个原理,这得看inter手册。我只记得是设置apic的某个寄存器…… 关于这部分的详细实现可以看kgdb的代码(arch/x86/Kconfig和arch/x86/kernel都可以看看),虽然是linux的,但原理是相似的。 |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值