什么影响ESP子尺寸的分配

时间:2019-07-23 06:58:44

标签: c memory-address buffer-overflow

最近,我进行了缓冲区溢出研究。下面是C代码。

#include <stdio.h>
void caller();
void callee(int arg);
{
    callee(8);
}
void callee(int arg)
{
    int buffer[3] = { 5, 6, 7 };
    third(8);
}

下面是调试工具获得的相应指令。 我们可以看到SUB ESP,28,为什么尺寸为28?哪个因素影响它?

enter image description here

0 个答案:

没有答案
相关问题