What ACTUALLY happens during a Stack Overflow?

What ACTUALLY happens during a Stack Overflow?

158.408 Lượt nghe
What ACTUALLY happens during a Stack Overflow?
In this video, we demonstrate a stack overflow happening in real-time 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 open-source code I wrote here: https://github.com/LaurieWired/Assembly-Algorithms --- 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: https://www.youtube.com/watch?v=im1LXnrIDxQ