开发者

Unsafe C# - Instantiate Pointer at lowest memory address and overwrite

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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜