请输入您要查询的英文单词:

 

单词 Stack smashing
释义

Stack smashing

中文百科

堆叠溢出 Stack buffer overflow

(重定向自Stack smashing)

堆栈溢出英语:stack overflow)在计算机科学中是指使用过多的内存时导致调用堆叠产生的溢出。堆叠溢出的产生是由于过多的函数调用,导致调用堆叠无法容纳这些调用的返回地址,一般在递归中产生。堆叠溢出很可能由无限递归(Infinite recursion)产生,但也可能仅仅是过多的堆叠层级。

堆叠溢出在核心设计中尤其危险,因此很多入门核心设计教程建议用户不要尝试使用递归程序;而是基于安全和性能考量,改用循环处理问题。

在POSIX兼容平台上,堆叠溢出通常会造成操作系统产生SIGSEGV信号。

英语百科

Stack buffer overflow 堆叠溢位

(重定向自Stack smashing)
A. - Before data is copied.
B. -
C. -

In software, a stack buffer overflow or stack buffer overrun occurs when a program writes to a memory address on the program's call stack outside of the intended data structure, which is usually a fixed-length buffer. Stack buffer overflow bugs are caused when a program writes more data to a buffer located on the stack than what is actually allocated for that buffer. This almost always results in corruption of adjacent data on the stack, and in cases where the overflow was triggered by mistake, will often cause the program to crash or operate incorrectly. Stack buffer overflow is a type of the more general programming malfunction known as buffer overflow (or buffer overrun). Overfilling a buffer on the stack is more likely to derail program execution than overfilling a buffer on the heap because the stack contains the return addresses for all active function calls.

随便看

 

英汉双解词典包含3607232条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
京ICP备09058993号 更新时间:2025/5/15 13:26:31