Lines Matching refs:stackendptr
423 const char* stackendptr = nullptr; in hook_malloc() local
435 stackendptr = stackptr + coroutineStackSize; in hook_malloc()
438 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_malloc()
439 stackSize = stackendptr - stackptr; in hook_malloc()
441 …pStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_malloc()
449 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_malloc()
450 stackSize = stackendptr - stackptr; in hook_malloc()
451 if (stackendptr == nullptr) { in hook_malloc()
529 const char* stackendptr = nullptr; in hook_aligned_alloc() local
541 stackendptr = stackptr + coroutineStackSize; in hook_aligned_alloc()
544 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_aligned_alloc()
545 stackSize = stackendptr - stackptr; in hook_aligned_alloc()
547 …pStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_aligned_alloc()
555 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_aligned_alloc()
556 stackSize = stackendptr - stackptr; in hook_aligned_alloc()
557 if (stackendptr == nullptr) { in hook_aligned_alloc()
635 const char* stackendptr = nullptr; in hook_calloc() local
647 stackendptr = stackptr + coroutineStackSize; in hook_calloc()
650 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_calloc()
651 stackSize = stackendptr - stackptr; in hook_calloc()
653 …pStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_calloc()
661 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_calloc()
662 stackSize = stackendptr - stackptr; in hook_calloc()
663 if (stackendptr == nullptr) { in hook_calloc()
745 const char* stackendptr = nullptr; in hook_realloc() local
757 stackendptr = stackptr + coroutineStackSize; in hook_realloc()
760 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_realloc()
761 stackSize = stackendptr - stackptr; in hook_realloc()
763 …pStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_realloc()
774 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_realloc()
775 stackSize = stackendptr - stackptr; in hook_realloc()
776 if (stackendptr == nullptr) { in hook_realloc()
887 const char* stackendptr = nullptr; in hook_free() local
900 stackendptr = stackptr + coroutineStackSize; in hook_free()
903 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_free()
904 stackSize = stackendptr - stackptr; in hook_free()
906 …pStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_free()
914 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_free()
915 stackSize = stackendptr - stackptr; in hook_free()
916 if (stackendptr == nullptr) { in hook_free()
1006 const char* stackendptr = nullptr; in hook_mmap() local
1018 stackendptr = stackptr + coroutineStackSize; in hook_mmap()
1021 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_mmap()
1022 stackSize = stackendptr - stackptr; in hook_mmap()
1024 …pStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_mmap()
1032 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_mmap()
1033 stackSize = stackendptr - stackptr; in hook_mmap()
1034 if (stackendptr == nullptr) { in hook_mmap()
1110 const char* stackendptr = nullptr; in hook_munmap() local
1121 stackendptr = stackptr + coroutineStackSize; in hook_munmap()
1124 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_munmap()
1125 stackSize = stackendptr - stackptr; in hook_munmap()
1127 …pStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_munmap()
1135 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_munmap()
1136 stackSize = stackendptr - stackptr; in hook_munmap()
1137 if (stackendptr == nullptr) { in hook_munmap()
1232 const char* stackendptr = nullptr; in hook_memtrace() local
1244 stackendptr = stackptr + coroutineStackSize; in hook_memtrace()
1247 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_memtrace()
1248 stackSize = stackendptr - stackptr; in hook_memtrace()
1250 …pStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_memtrace()
1258 … GetRuntimeStackEnd(stackptr, &stackendptr, g_hookPid, GetCurThreadId()); // stack end pointer in hook_memtrace()
1259 stackSize = stackendptr - stackptr; in hook_memtrace()
1260 if (stackendptr == nullptr) { in hook_memtrace()