最后,本文把后备栈机制和其他三种常见的修复机制进行了比较。
At last, the backup stack repair mechanism is compared with other three ones and a conclusion is drawn.
在不发生返回地址栈溢出时,使用后备栈机制能够获得100%的返回地址预测精度。
With the backup stack technique used to repair the return-address stack, a 100% return-address prediction accuracy can be achieved unless overflow appears.
当然,这是根据实际需要来调整栈大小的一般机制,如果栈的容量达到了最大值上限,那么栈就会溢出,程序也会收到一个段出错的信息。
This is the normal mechanism whereby stack size adjusts to demand. However, if the maximum stack size has been reached, we have a stack overflow and the program receives a Segmentation Fault.
应用推荐