+ 1
Do dangling pointers cause memory leakage?
10 Answers
+ 1
They can,they can cause all sorts of nasty stuff like double frees
+ 3
Welp, back to Google!
+ 2
Hmmm... Is there some method to find out if a variable is being pointed to or not?
+ 2
Exactly! But something tells me Assembly tutorials can't easily be found online...
+ 1
Yes, it's his birth right to leak memory...
+ 1
Nope but I recommend using smart pointers instead of raw pointers. That avoids a lot of problems. Look into modern c++ coding style. You seem really interested in the really lowlevel stuff, you could try learning assembly and doing some crackmes and learning Reverse Engineering, that pays really well and you will understand what the computer is doing and how your programs are interacting with the operating system on the lowest level
+ 1
Exactly, I love those! But something tells me Assembly tutorials can't easily be found online...
+ 1
Wow all the websites I used to learn this stuff are gone, thatâs really sad.
You could try this http://www.cs.virginia.edu/~evans/cs216/guides/x86.html
Was the only thing that I found that seemed ok.
Just remember that writing large assembly programs is pretty useless, most people use assembly just for reverse engineering and inline in c++, so dont waste to much time on writing programs in assembly. You could always write short c programs and disassemble them to see whatâs going on instead(use ida pro). After that just browse the reverse engineering subreddit and do the Lena tutorials and the legend of random tutorials you can find them and many more on a site called tuts4you ( just google it) after that read this book https://beginners.re
It will teach you two more assembly languages for different processors(the ones in you mobile phone) the tutorials are for software cracking but softwarecracking is just Reverse Engineering Applied for shady things and reading them(donât do them on the software that would be illegal) will help you navigate Large programs( they use a tool called ollydbg thatâs no longer relevant use x64dbg instead and check out the available plugins).they are pretty old but Lots of reverse engineers use so called crackmes to practice.on the way you should also pick up x86_64 assembly but itâs an easy extension of x86 assembly
+ 1
Wow, thank you so much!!
0
Additional quick tip: in the reverse engineering subreddit sort by all time and popular to find the best resources, donât rely on trending, itâs not that active