Lines Matching refs:frame
116 StackFrameAMD64* frame = new StackFrameAMD64(); in GetContextFrame() local
120 frame->context = *context_; in GetContextFrame()
121 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_ALL; in GetContextFrame()
122 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
123 frame->instruction = frame->context.rip; in GetContextFrame()
125 return frame; in GetContextFrame()
133 scoped_ptr<StackFrameAMD64> frame(new StackFrameAMD64()); in GetCallerByCFIFrameInfo() local
137 &frame->context, &frame->context_validity)) in GetCallerByCFIFrameInfo()
143 if ((frame->context_validity & essentials) != essentials) in GetCallerByCFIFrameInfo()
146 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
147 return frame.release(); in GetCallerByCFIFrameInfo()
181 StackFrameAMD64* frame = new StackFrameAMD64(); in GetCallerByFramePointerRecovery() local
182 frame->trust = StackFrame::FRAME_TRUST_FP; in GetCallerByFramePointerRecovery()
183 frame->context = last_frame->context; in GetCallerByFramePointerRecovery()
184 frame->context.rip = caller_rip; in GetCallerByFramePointerRecovery()
185 frame->context.rsp = caller_rsp; in GetCallerByFramePointerRecovery()
186 frame->context.rbp = caller_rbp; in GetCallerByFramePointerRecovery()
187 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_RIP | in GetCallerByFramePointerRecovery()
190 return frame; in GetCallerByFramePointerRecovery()
210 StackFrameAMD64* frame = new StackFrameAMD64(); in GetCallerByStackScan() local
212 frame->trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByStackScan()
213 frame->context = last_frame->context; in GetCallerByStackScan()
214 frame->context.rip = caller_rip; in GetCallerByStackScan()
217 frame->context.rsp = caller_rip_address + 8; in GetCallerByStackScan()
218 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_RIP | in GetCallerByStackScan()
232 frame->context.rbp = caller_rbp; in GetCallerByStackScan()
233 frame->context_validity |= StackFrameAMD64::CONTEXT_VALID_RBP; in GetCallerByStackScan()
238 frame->context.rbp = last_frame->context.rbp; in GetCallerByStackScan()
239 frame->context_validity |= StackFrameAMD64::CONTEXT_VALID_RBP; in GetCallerByStackScan()
243 return frame; in GetCallerByStackScan()