The drawbacks of frame stack structure

Source: Internet
Author: User

The process adopts frame-stack structure to save local information and state information, and can realize the advantages of context conversion, local variable preservation and so on, the result is that the array cross reference and buffer overflow can cause serious consequences. Consequences can be consulted

Http://www.cnblogs.com/fanzhidongyzby/archive/2013/08/10/3250405.html

Workaround 1. Stack randomization http://blog.csdn.net/swordmanwk/article/details/42044775

2. Canary detection (stack break detection) http://www.ithao123.cn/content-6066889.html

The drawbacks of frame stack structure

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.