Wow, ok I guess I have a lot more to learn. I get the general concept of pointers/references and stack/heap. I kinda partially understand reading asm but didn't know about the rsp and rsb special memory locations, more familiar with like rax or eax but those are just general purpose registries, and that's mostly just from playing with https://godbolt.org/ if you're not familiar it's a website to convert code(many supported languages) to asm with several compilers and options similar to your g++ command but web based so I don't know how it would handle low level memory checking like this(also can't execute code, just display the asm code).
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: