Home > OS >  For help! Windows environment, the c language pointer can detect the memory of this program? Memory
For help! Windows environment, the c language pointer can detect the memory of this program? Memory

Time:11-05

Write a c program to check the memory contents, want to ask, if only to see the program itself is system allocated memory, other than the program memory can't see?

CodePudding user response:

If you don't call system API, general speaking, NT core WIN environment is such, the original DOS core (i.e., 98) can literally see,

CodePudding user response:

1. Each process address space is independent, so that each process can only access its own address space;
2. If through system calls into the kernel, you can access the system space, but the system calls are provided by the operating system, can only be legitimate access to limited system data,
  • Related