Searched refs:stackptr (Results 1 – 3 of 3) sorted by relevance
| /developtools/profiler/device/plugins/native_hook/src/ |
| D | hook_client.cpp | 445 const char* stackptr = nullptr; in hook_malloc() local 457 stackptr = reinterpret_cast<const char*>(stackAddr); in hook_malloc() 458 stackendptr = stackptr + coroutineStackSize; in hook_malloc() 460 stackptr = reinterpret_cast<const char*>(__builtin_frame_address(0)); in hook_malloc() 461 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_malloc() 462 stackSize = stackendptr - stackptr; in hook_malloc() 464 …fpStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr… in hook_malloc() 471 stackptr = reinterpret_cast<const char*>(regs[RegisterGetSP(buildArchType)]); in hook_malloc() 472 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_malloc() 473 stackSize = stackendptr - stackptr; in hook_malloc() [all …]
|
| D | runtime_stack_range.cpp | 224 void GetRuntimeStackEnd(const char* stackptr, const char** end, pid_t pid, pid_t tid) in GetRuntimeStackEnd() argument 235 if (!IfContained(start, *end, stackptr)) { in GetRuntimeStackEnd() 239 if (IfContained(sigStackStart, sigStackEnd, stackptr)) { in GetRuntimeStackEnd() 241 } else if (!(!isSubThread && stackptr < *end)) { in GetRuntimeStackEnd()
|
| /developtools/profiler/device/plugins/native_hook/include/ |
| D | runtime_stack_range.h | 28 void GetRuntimeStackEnd(const char* stackptr, const char** end, pid_t pid, pid_t tid);
|