Stack frame details

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.