这是命令信息帧的 GDB 输出;
Stack level 1, frame at 0x7fff5fbffba0
rip = 0x100000ee4 in main (scc150_ex5.c:9);
saved rip 0x100000eb4
caller of frame at 0x7fff5fbffb80
source language c.
Arglist at 0x7fff5fbffb98, args:
Locals at 0x7fff5fbffb98,
Previous frame's sp is 0x7fff5fbffba0
Saved registers: rbp at 0x7fff5fbffb90,
rip at 0x7fff5fbffb98
我对保存指令指针的位置感到困惑,它会在0x100000eb4
哪里?此外,如果该指令指针无意中被覆盖,它会不会“搞砸”整个程序?(我为使用混乱表示歉意)。
谢谢