操作系统:原理与实现
Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
11.2.5节 扫描和翻译 疑问
marjune
扫描和翻译以页为单位修改指令,例如AARCH64上把敏感指令替换成svc指令,那么
在替换指令后如何保证指令代码总大小不会超出一页?
如果替换后所有指令占用的总大小会变,如何标记最后一页代码的实际长度?
把敏感指令替换为svc指令后,实际执行导致下陷时如何得知原始指令是什么?