Lines Matching refs:stack
38 #include <sys/stack.h>
58 sdt_invop(uintptr_t addr, uintptr_t *stack, uintptr_t eax)
66 * On amd64, stack[0] contains the dereferenced stack pointer,
67 * stack[1] contains savfp, stack[2] contains savpc. We want
76 * When accessing the arguments on the stack, we must
77 * protect against accessing beyond the stack. We can
82 stack0 = stack[i++];
83 stack1 = stack[i++];
84 stack2 = stack[i++];
85 stack3 = stack[i++];
86 stack4 = stack[i++];
306 uintptr_t *stack;
323 * use the pointer that it passed to the stack as the
325 * the stack.
327 stack = ((uintptr_t **)&fp[1])[1];
335 * that we're seeking is passed on the stack, we'll
336 * pull the true stack pointer out of the saved
346 stack = (uintptr_t *)&rp->r_rdi;
348 stack = (uintptr_t *)(rp->r_rsp);
379 stack = (uintptr_t *)&fp[1];
383 val = stack[argno];