, , . , , , , ( ), , , , SIGSEV (segmentation fault) , ( Linux/Unix ), Windows - ,
Note: you can take a look at mprotect () on Linux and POSIX operating systems, this allows you to protect memory pages explicitly, functions like malloc (), return memory to pages with default protection, which you can then change, so you You can protect memory areas only as read (but only in page size blocks, usually around 4 KB).
source
share