Home
last modified time | relevance | path

Searched refs:stackTop (Results 1 – 8 of 8) sorted by relevance

/base/hiviewdfx/faultloggerd/frameworks/unwinder/include/
Dfp_unwinder.h41 inline bool IsValidFrame(uintptr_t frame, uintptr_t stackTop, uintptr_t stackBottom) in IsValidFrame() argument
43 return ((frame > stackBottom) && (frame < stackTop - sizeof(uintptr_t))); in IsValidFrame()
/base/hiviewdfx/faultloggerd/tools/crasher_c/
Ddfx_crasher.c271 register void* stackTop; in StackTop() local
273 __asm__ volatile ("mov %0, sp":"=r"(stackTop)::); in StackTop()
274 printf("crasher_c: stack top is = %08x\n", (unsigned int)stackTop); in StackTop()
276 __asm__ volatile ("mov %0, sp":"=r"(stackTop)::); in StackTop()
277 printf("crasher_c: stack top is = %16llx\n", (unsigned long long)stackTop); in StackTop()
291 ret = fprintf(fp, "%08x", (unsigned int)stackTop); in StackTop()
293 ret = fprintf(fp, "%16llx", (unsigned long long)stackTop); in StackTop()
/base/hiviewdfx/faultloggerd/tools/crasher_cpp/
Ddfx_crasher.cpp268 unsigned int stackTop; in StackTop() local
269 __asm__ volatile ("mov %0, sp":"=r"(stackTop)::); in StackTop()
271 uint64_t stackTop; in StackTop() local
272 __asm__ volatile ("mov %0, sp":"=r"(stackTop)::); in StackTop()
274 uint64_t stackTop = 0; // for fixing compile error on x64 in StackTop() local
276 std::cout << "crasher_c: stack top is = " << std::hex << stackTop << std::endl; in StackTop()
280 fout << std::hex << stackTop << std::endl; in StackTop()
/base/hiviewdfx/faultloggerd/common/dfxutil/
Ddfx_util.h34 AT_SYMBOL_HIDDEN int GetStackRange(uintptr_t& stackBottom, uintptr_t& stackTop);
Ddfx_util.cpp180 int GetStackRange(uintptr_t& stackBottom, uintptr_t& stackTop) in GetStackRange() argument
188 stackTop = reinterpret_cast<uintptr_t>(base) + size; in GetStackRange()
/base/hiviewdfx/hiview/utility/common_utils/
Dtbox.cpp147 … std::stack<std::string> stackTop = logparse.GetStackTop(trace, 3); // 3 : first/second/last frame in FilterTrace() local
148 logparse.SetFrame(stackTop, eventInfo); in FilterTrace()
Dlog_parse.cpp115 stack<string> stackTop; in GetStackTop() local
118 stackTop.push(validStack.at(i)); in GetStackTop()
121 return stackTop; in GetStackTop()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
Ddfx_crash_local_handler.c245 uintptr_t stackTop = (uintptr_t)base + size; in UnwindWithContextByFramePointer() local
250 if (stackBottom < prevFp && (prevFp + sizeof(uintptr_t)) < stackTop) { in UnwindWithContextByFramePointer()