我想在x86系统中禁用FPU/MMX/SSE指令,并将为“设备不可用”异常实现一个处理程序。我参考了控制寄存器wiki页面;似乎我必须在cr0寄存器中设置一些标志。如何在cr0中设置这些标志以及在启动时做这项工作?
For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...