Stack frame details
I. Introduction
I believe that many shoes engaged in C programming still do not understand what Stack frames are. First, I will reference the classic explanation of Baidu Encyclopedia: "Stack frames are also called process activity records, a Data Structure Used by the compiler to implement process/function calls. ".
In fact, it can be simply understood that the stack frame is the record unit of the information involved in each worker function call stored on the user stack (of course, the kernel stack is also applicable. This may be more complicated. Well, let's start from the stack to understand what Stack frames are...
Refer:
Essence of function calls
Http://toutiao.com/a4143423644/
A c source file to an executable file [disassembly-function stack frame compilation link]
Http://blog.csdn.net/misskissc/article/details/38020151