例如,假设我有这样的东西:
0x33:0x10
并且我想获取以下形式的地址:
0x????????
从中。这样做最简单的方法是什么?这是在 Linux x86 上。
最佳答案
The selector in the segment register is decoded to give a descriptor table specifier and a descriptor table index. The base given in the table and index is added to the offset in order to give a final address within process space.为了将进程内存转换为物理内存,the page tables must be read and decoded.
关于linux - 从分段地址计算文字地址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11800020/