读程序计数器直接 [英] Reading Program Counter directly
本文介绍了读程序计数器直接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以运行在Intel CPU的程序计数器可直接读取(也就是没有'招数')在内核模式或一些其他模式?
Can the program counter on Intel CPU's can be read directly (that is without 'tricks') in kernel mode or some other mode?
推荐答案
没有,(E / R)IP不能直接访问。为了得到它:
No, (E/R)IP cannot be accessed directly. To get it:
call _here
_here: pop eax
; eax now holds the PC.
这篇关于读程序计数器直接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文