
函数参数 (32、64位的参数传递又不一样,ABI)局部变量;临时寄存器保存;栈地址指针,栈底寄存器;指令返回地址;The frame is the area on the stack that holds local variables and saved registers所以导致栈溢出的情况,一般就是局部变量,这个可注入的点。函数参数是否可以注入?这要是猛一问起来,还真不一定能答出来。可以使用gcc提供的内建函数获取部分栈信息。6.49 Getting the Return or Frame Address of a Function面真从度答。是试试!感真难试的技来问而就而。这觉是!时要角回题不面面。个还挺32 bit栈为什么要对其6.2.2 Stack AlignmentThe stack pointer for a stack segment should be aligned on 16-bit (word) or 32-bit (double-wo