Lines Matching refs:sp
247 uint64_t sp = getSP();
251 sprintf(obuf, "Initial stack pointer = 0x%016lx\n", sp);
257 uint64_t cargc = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
258 sprintf(obuf, "0x%016lx: Argc = 0x%016lx\n", sp, cargc);
260 sp += 8;
266 cargv = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
268 sp, argCount++, cargv);
273 sp += 8;
280 cenvp = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
282 sp, envCount++, cenvp);
284 sp += 8;
288 auxType = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
289 sp += 8;
290 auxVal = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
291 sp += 8;
293 sp - 16, auxType, auxVal);
299 uint64_t currentStart = sp;
302 buf = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
312 currentStart = sp + x + 1;
315 sp += 8;
317 } while (!clearedInitialPadding || buf != 0 || sp <= highestInfo);