4 ms·
The OS can scan the program for instructions that access these bits. If necessary on a per-basic-block basis.
by amelius 5y ago
The OS can scan the program for instructions that access these bits. If necessary on a per-basic-block basis.
- saagarjha 5y agoOf course, this only works if you can't introduce new code without the kernel noticing.
- amelius 5y agoYes, you can introduce new code but the kernel should also watch for that (JIT compilation etc.) and check the resulting code. It's quite involved, and the whole process looks more like a sandbox or emulator, but it's possible.