NX bit emulation

Can someone explain to me how the NX bit can be emulated on platforms like 32-bit x86 where the hardware doesn't provide it? I would be grateful for an explanation of the basics of how it is emulated, because I simply cannot imagine how this can be implemented. Thanks in advance.

+3
source share
2 answers

You can read about Exec Shield , PaX PAGEEXEC and PaX SEGMEXEC .

+3
source

I have never implemented NX emulation, but knowing something about x86, I think best of all about how it can work.

, ​​ , , .

... x86 32- " " 16- . , GDT. GDT . ​​ cs ( ) GDT, [x, y], .

, , NX, NX . , NX , cs ( , ) .

0

Source: https://habr.com/ru/post/1785674/


All Articles