Identifying and Fixing Heap Corruption Bugs

preview_player
Показать описание
---



***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.

About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:



***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.

About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:

To Support the Channel:
+ like, subscribe, spread the word

Want me to review your code?

You can also find more info about code reviews here.
Рекомендации по теме
Комментарии
Автор

Thank you for that simple explanation!

guysandacontroller
Автор

This video doesn't have enough likes. Really helped when I was a beginner since I'm self taught.

leo
Автор

Your videos are such high quality, thank you!

dykens
Автор

Hi, great video and pretty well explained for beginners.
I've a question, do you know how to set MALLOC_CHECK_ to 0 or M_CHECK_ACTION to 0. I've done what I usually do when I'm showing example of heap corruptions, but on my current distro (popOS), none are working. What I usually do is create a script that "export M_CHECK_ACTION=0" before executing the flawed program, but it does not seem to work on newer glibc, I know that since 2.3.4 they did set those at 3 by default. But I can't find a way to set them back to 0. changing mallopt(M_CHECK_ACTION, 0) is not working either. Thanks

RmDIrSudoSu
Автор

Hi thanks for this vid. I'm on windows but the overall concept remains the same, I just have to use different tools to figure out the line of code that was offending in my case (VS actually has the capability to do heap snapshots that can be enabled directly in the IDE). Thanks a lot for the vid, it was clear and really helpfull!

maciejkolosko
Автор

I dont know how i got here but my windows 10 is still not working

GunRotMG
Автор

Thanx for the vote in confidence... I will fix that corruption...

jurikristjouw
Автор

Happy debugging what do u mean by that🤔🤣🤣🤣

AliAkbarFaiz