So this instruction stores the link register (which holds the return address) into the proper location in the calling function's stack frame.
所以该指令会将链接寄存器(存有返回地址)存储到调用函数堆栈框架的恰当位置。
The computer refers to this point as the return address and keeps track of it in the stack frame.
计算机引用这一点作为返回地址,会在堆栈框架中跟踪它。
The argument defines the level of the call stack for which you want to obtain the return address.
这个参数定义希望获取返回地址的调用堆栈级别。
LR_OFFSET is the offset into the stack frame of the return address.
LR_OFFSET是返回地址的堆栈框架的偏移量。
This code replaces the return address on the stack with the trampoline address-the Kretprobe address.
这段代码使用trampoline地址替换堆栈上的返回地址——Kretprobe地址。
Remember that when a program makes a function call (especially for recursive ones), it has to store its return address and local variables on the stack.
记住当程序进行函数调用(特别是针对递归函数)时,它必须在堆栈上存储返回地址和本地变量。
This means that we have to manually rewrite the stack to fake a return address so that the tail-called function will return directly to our parent.
这意味着我们必须手工重新编写栈来仿造一个返回地址,以使得尾部调用的函数能直接返回到调用它的函数。
Because we are just jumping into the same function, the return address and old % ebp will be the same and the stack size won't change.
由于我们只是跳转到同一个函数,所以返回地址和旧的%ebp是相同的,栈的大小也不会改变。
On functions that the compiler recognizes as subject to buffer overrun problems, the compiler allocates space on the stack before the return address.
对于编译器认为容易出现缓冲区溢出问题的函数,编译器将在堆栈上返回地址之前分配空间。
With the backup stack technique used to repair the return-address stack, a 100% return-address prediction accuracy can be achieved unless overflow appears.
在不发生返回地址栈溢出时,使用后备栈机制能够获得100%的返回地址预测精度。
Variables declared on the stack are located next to the return address for the function's caller.
在堆叠上宣告的变数会位于紧邻在函式之呼叫端返回位址的位置。
Variables declared on the stack are located next to the return address for the function's caller.
在堆叠上宣告的变数会位于紧邻在函式之呼叫端返回位址的位置。
应用推荐