Lines Matching refs:sp
376 uint64_t sp = getSP();
377 if (sp % 2) {
386 sprintf(obuf, "Initial stack pointer = 0x%016llx\n", sp);
392 sp += 2047;
396 uint64_t regspot = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
399 sp, x+1, regspot);
401 sp += v8 ? 4 : 8;
404 uint64_t cargc = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
406 sprintf(obuf, "0x%016llx: Argc = 0x%016llx\n", sp, cargc);
408 sp += v8 ? 4 : 8;
413 cargv = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
416 sp, argCount++, cargv);
418 sp += v8 ? 4 : 8;
424 cenvp = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
427 sp, envCount++, cenvp);
429 sp += v8 ? 4 : 8;
433 auxType = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
435 sp += (v8 ? 4 : 8);
436 auxVal = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
438 sp += (v8 ? 4 : 8);
440 sp - 8, auxType, auxVal);
446 uint64_t currentStart = sp;
449 buf = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
459 currentStart = sp + x + 1;
462 sp += (v8 ? 4 : 8);