You can construct the object on the heap or on the stack frame of a function.
可以在堆或函数的堆栈帧上构造对象。
It displays the stack frame for the suspended threads for each target you're debugging.
它可以显示每个调试目标中挂起线程的堆栈框架。
Once inside a function, a local stack frame is created by copying esp to ebp (line 62).
在函数内部,通过将esp复制到ebp(第62行)创建一个局部堆栈框架。
In this program you will have two stack frame sizes — one for main and one for factorial.
在本程序中,需要两个堆栈框架大小——一个用于main,一个用于factorial。
A yellow arrow identifies the stack frame where the execution pointer is currently located.
执行指标目前所在的堆叠框架位置会以黄色箭头识别。
The computer refers to this point as the return address and keeps track of it in the stack frame.
计算机引用这一点作为返回地址,会在堆栈框架中跟踪它。
Displays the code for the current stack frame, highlighting the line that is about to be executed.
显示当前堆栈框架的代码,突出显示即将执行的代码行。
These will all be used to make access to stack frame offsets much clearer in the main body of code.
上述这些做法目的是使在代码的主体访问堆栈框架变得更为清楚明了。
Why don't we consider stack frame sizes while calculation Space Complexity of recursive procedures?
我们为什么不考虑堆栈帧的大小而递归程序计算的空间复杂度?
Otherwise, it assumes the provided address as a valid stack frame start address and attempts to traceback.
否则,它假定所提供的地址是有效的堆栈帧起始地址并设法进行回溯。
The final item in the stack frame is a pointer to the previous stack frame, often called the back pointer.
堆栈帧中的最后一个条目是一个指向前一堆栈帧的指针,通常被称为后向指针(back pointer)。
You load register 3 with the return value and perform the function epilogue to restore the stack frame and return.
需要用返回值加载寄存器3并执行函数尾声(epilogue)来恢复堆栈框架并返回。
So, let's say that function func1 calls function func2 with three parameters, and func2 has a 112-byte stack frame.
让我们假设函数func1使用3个参数来调用func2,并且func2有一个112字节的堆栈帧。
Remember that the link register is stored in the calling function's stack frame, not the function's own stack frame.
请记住链接寄存器存储在调用函数的堆栈框架内,而非函数自身的堆栈框架。
Every time a function is called, a new stack frame (an area of memory inside the stack) is used to support the call.
每当调用一个函数,就会使用一个新的堆栈帧来支持该调用。
Since you have not yet defined your own stack frame, the offset is from the end of the calling function's stack frame.
由于您尚未定义自己的堆栈框架,所以偏移量是由调用函数的堆栈框架的末端算起的。
Internally, all the variables declared within a method, including the parameters, are stored together in a stack frame.
在内部,所有方法内部声明的变量,包括参数,都一起存储在堆栈框架中。
If the stack frame is not active, this address is the next instruction to execute when the stack frame is reactivated.
如果堆栈帧未处于活动状态,则此地址是在重新激活堆栈帧时要执行的下一条指令。
Notice that since there is nothing left to do in the function, the actual stack frame for the function is not needed either.
注意,由于在函数中不再做任何事情,那个函数的实际的栈结构也就不需要了。
So you simply need to move the stack pointer by adding the stack frame size to the stack pointer using ai $sp, $sp, FRAME_SIZE.
所以您只需通过使用ai $sp, $sp, FRAME_SIZE 将堆栈框架大小加到堆栈指针来移动堆栈指针即可。
User input is actually harder to make safe because there is no stack frame to trace the presence of the potentially untrusted data.
用户输入实际上更难以保证安全性,因为没有堆栈帧来跟踪可能不受信任的代码的存在。
So this instruction stores the link register (which holds the return address) into the proper location in the calling function's stack frame.
所以该指令会将链接寄存器(存有返回地址)存储到调用函数堆栈框架的恰当位置。
This article discusses the working mechanism of RPR-based MSR with protocol stack frame structure node function and networking included.
详细探讨了基于RPR的MSR的工作机理,包括协议栈和帧结构、节点功能结构、组网应用等几个方面。
Then the calling procedure can store the arguments adjacent to (or part of) the new stack frame, where the called procedure can find them.
调用方可以把参数存到这个堆栈帧的边上,这样被调用方可以很容易的找到它,而不像上面那样需要额外的开销。
The expression is evaluated in the context of the current stack frame, and the results are displayed in the Expressions view of display window.
在当前堆栈框架的上下文中会计算表达式的值,在Display窗口的Expressions视图中会显示结果。
In practice this is easy; just don't write code that does low-level manipulations of the stack frame or makes assumptions about the stack layout.
这在实践上是很容易的;只要不编写对堆栈桢执行低级操作或对堆栈的布局作假设的代码就行了。
When a function begins, it actually saves the link register in the calling function's stack frame, not its own, and then only if it needs to save it.
当函数开始时,它实际上会将链接寄存器保存到调用函数的堆栈帧中,而不是自己的堆栈帧中,然后只有在需要时才会保存它。
However, since the base case doesn't call any other functions, you don't need to load the link register from the stack frame — the value is still there.
但由于基线条件并不调用任何其他函数,所以无需从堆栈框架加载链接寄存器——值还在原处。
Since you did not call any functions or use any local storage, you did not need a stack frame at all, so you can now just exit through the link register.
由于未调用任何函数,也未使用任何本地存储,所以您根本无需堆栈框架,并可通过链接寄存器退出。
Since you did not call any functions or use any local storage, you did not need a stack frame at all, so you can now just exit through the link register.
由于未调用任何函数,也未使用任何本地存储,所以您根本无需堆栈框架,并可通过链接寄存器退出。
应用推荐