Free views, likes and subscribers at YouTube. Now!
Get Free YouTube Subscribers, Views and Likes

What ACTUALLY happens during a Stack Overflow?

Follow
LaurieWired

In this video, we demonstrate a stack overflow happening in realtime using a recursive function in ARM assembly. We visualize the value of the stack pointer as it surpasses the maximum amount of space allocated for the call stack.

You can experiment yourself on a Raspberry Pi or any ARMv7 device, by using the opensource code I wrote here:
https://github.com/LaurieWired/Assemb...



Timestamps:
00:00 Intro
01:47 Assembly Code (Raspberry Pi)
04:15 Evil Recursive Functions
06:41 Overflowing (a little bit)
10:30 System Failure!



LaurieWired Socials:
https://linktr.ee/lauriewired


Intro Music Courtesy of Analog Summer:
   • Uncharted Destination by Analog Summer  

posted by privodilinv