|
Goonerousity posted:I have no idea how the heap and stack work, but I have a theory that, in C/C++ you can overload the *malloc() function, with unelevated privileges, and somehow corrupt memory, or cause a buffer overflow (right?). You may want to read up on virtual memory. Unless you are writing kernel code, your program "thinks" it has all the memory it can address, but it's actually all smokes and mirrors. Two consecutive bytes may be Gigabytes appart in physical ram, and you cannot "see" the memory of any other program unless you've set it up with the OS prior. Aramis fucked around with this message at 17:21 on Oct 2, 2017 |
# ¿ Oct 2, 2017 17:19 |
|
|
# ¿ May 10, 2024 12:23 |