change a pointer of address of another application

前端 未结 4 1194
暖寄归人
暖寄归人 2021-01-25 05:17

I need somebody to edit the title, I can\'t find better title.


Assume a have this simple program called source.exe:

#include 

        
4条回答
  •  忘了有多久
    2021-01-25 05:51

    On most traditional computers that people deal with, the operating system makes use of virtual memory. This means that two processes can both use address 0x12340000 and it can refer to two different pieces of memory.

    This is helpful for a number of reasons, including memory fragmentation, and allowing multiple applications to start and stop at random times.

    On some systems, like TI DSPs for example, there is no MMU, and thus no virtual memory. On these systems, something like your demo application could work.

提交回复
热议问题