Today I have a strange question again (at least for me this is). I experiment more with pointers, and the thought arises in my head:
Code (only part of it)
int * firefoxmemory = (char*) 0x11111111
Question:
In the above code, I am trying to access the memory used by firefox (I use the memory editor to view the address), and after that change its corresponding value. But when I try to do this, my program crashes.
Why is this happening with my program? Is there any special code used by Firefox to prevent a third-party program from interfering with its memory? Or is it done with Windows and Intel DEP hardware?
If the above action is prevented by DEP, why does some memory editing software still work, such as cheat engines that can change values ββin memory?
source share