提问人:radong 提问时间:8/4/2022 最后编辑:radong 更新时间:8/7/2022 访问量:94
Dwarf 格式如何计算 Proious SP 指针
how dwarf format caculate provious sp pointer
问:
这是来自 Dwarf 文档的示例。
如何计算 provious sp(r7) 指针,我的意思是它没有将 sp 保存在某个地方,因为 sp 是一个被调用者保存寄存器。
The architectural ABI committee specifies that the stack pointer (R7) is the
same as the CFA
这意味着什么? 这是否意味着“r7=cfa”,为什么这有助于计算以前的 SP,并且调用一个函数可能会改变 SP。
在这个例子中,r8 是虚拟的吗?外观是虚拟的。
矮人 PDF。
答: 暂无答案
评论
fsize
sp
R7
s
R7
Start epilogue (R7 has been returned to entry value)
R7
add R7, R7, <fsize>