The Basics of Stack Frames: A Visual Guide for Programmers
In this video, you will learn how the stack works in depth. We will talk about: - Stack Frames - Calling conventions - Function prologue and epilogue - Function parameters - Leaf function - Red zone I'm really sorry about my pronunciation during this video, I'm not a native English speaker as you may have noticed, so you may not understand what I'm saying in this video, or you may notice some grammatical mistakes, etc. Subtitles are available to better understand the video. I apologize in advance. To understand correctly the video, you need to have some basic assembly skills, so here are some ressources for it: https://ftp.utcluj.ro/pub/users/cemil/asm/ https://cs.lmu.edu/~ray/notes/nasmtutorial/ https://www.nasm.us/xdoc/2.15.05/html/nasmdoc0.html https://guyinatuxedo.github.io/01-intro_assembly/assembly/index.html https://en.wikibooks.org/wiki/X86_Assembly/X86_Architecture https://chromium.googlesource.com/chromiumos/docs/+/master/constants/syscalls.md#x86_64-64_bit https://asmtutor.com/ https://www.tutorialspoint.com/assembly_programming/assembly_introduction.htm https://riptutorial.com/assembly 0:00 Recap about the stack data structure 0:49 Introduction to stack frames 1:10 Calling conventions about arguments 2:03 C program for stack frames 3:19 Main debugging 5:44 Function Prologue 7:56 Local variables and arguments allocation 10:02 Function1 Parameter set up 11:13 Function1 debugging 17:34 Function2 debugging 24:32 Leaf function and Red zone 26:57 Function3 debugging 27:28 Function Epilogue
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.