【发布时间】:2010-10-10 15:24:05
【问题描述】:
可以在内核模式或其他模式下直接读取 Intel CPU 上的程序计数器(即没有“技巧”)吗?
【问题讨论】:
-
相关:Why can't you set the instruction pointer directly?。你可以;该指令称为
jmp。我在那里的回答解释了为什么 x86 机器代码的设计使您无法将mov编码为eip,就像在 PC 是通用整数寄存器之一的 ARM 上那样。
标签: assembly x86 program-counter