在 sys/ptrace.h 中,我看到了类似的内容:
@define PT_READ_I 1 /* read world in child's I space*/
@define PT_READ_D 2 /* read world in child's D space*/
@define PT_READ_U 3 /* read world in child's user structure*/
什么是“I Space”和“D Space”以及“用户结构”?
引用手册页:
Traditionally, ptrace() has allowed for machines with distinct address spaces for instruction and data, which is why there are two requests: conceptually, PT_READ_I reads from the instruction space and PT_READ_D reads from the data space. In the current NetBSD implementation, these two requests are completely identical.
现在关于 PT_READ_U:
This space contains the registers and other information about the process; its layout corresponds to the user structure in the system.
关于ios - osx上的 ‘I Space’和 ‘D Space’是什么以及它们之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10187624/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |