Is it possible to instantiate a pointer using (unsafe) C# at any given memory address (which one would be the lowest?) and simply start overwriting the memory with continuous random data until a PC crashes?
Could someone provide me with an example?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Until the PC crashes? No. Until your process crashes, then yes. But if you just want your process to crash, there’s much easier ways of doing that then just overwriting random memory locations…
Windows uses a technique called virtual memory to make sure that any memory that you can access in process “A” cannot affect the memory that’s being used by process “B” (unless you use explicit mechanisms to share memory). So one process cannot (normally) affect the memory in another.