标签: linux x86 segment
例如,说我有类似的东西:
0x33:0x10
我希望在表单中获得一个地址:
0x????????
从中。这样做最简单的方法是什么?这是在Linux x86上。
答案 0 :(得分:1)
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.