/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace.cpp | 74 uptr stack_bottom) { in GetCanonicFrame() argument 75 CHECK_GT(stack_top, stack_bottom); in GetCanonicFrame() 77 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame() 79 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame() 82 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame() 95 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument 102 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast() 105 uptr bottom = stack_bottom; in UnwindFast()
|
D | sanitizer_rtems.cpp | 79 uptr *stack_top, uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 88 *stack_bottom = reinterpret_cast<uptr>(base); in GetThreadStackTopAndBottom() 89 *stack_top = *stack_bottom + size; in GetThreadStackTopAndBottom() 94 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local 95 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 96 *stk_addr = stack_bottom; in GetThreadStackAndTls() 97 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_stacktrace.h | 126 uptr stack_bottom, bool request_fast_unwind); 139 void UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, 162 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument 163 return frame > stack_bottom && frame < stack_top - kFrameSize; in IsValidFrame()
|
D | sanitizer_linux_libcdep.cpp | 98 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 100 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 109 *stack_top = *stack_bottom = 0; in GetThreadStackTopAndBottom() 130 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom() 149 *stack_bottom = (uptr)stackaddr; in GetThreadStackTopAndBottom() 542 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 543 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 544 *stk_addr = stack_bottom; in GetThreadStackAndTls() 545 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_stacktrace_sparc.cpp | 29 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument 63 uptr bottom = stack_bottom; in UnwindFast()
|
D | sanitizer_stacktrace_libcdep.cpp | 64 uptr stack_top, uptr stack_bottom, in Unwind() argument 89 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
|
D | sanitizer_win.cpp | 113 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 115 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 122 *stack_bottom = (uptr)mbi.AllocationBase; in GetThreadStackTopAndBottom() 849 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 850 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 851 *stk_addr = stack_bottom; in GetThreadStackAndTls() 852 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_rtems.cpp | 103 uptr stack_bottom, stack_size, tls_bottom, tls_size; member 109 uptr stack_bottom, uptr stack_size, in CreateAsanThread() argument 119 const AsanThread::InitOptions options = {stack_bottom, stack_size, in CreateAsanThread() 131 CHECK_NE(options->stack_bottom, 0); in SetThreadStackAndTls() 133 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls() 134 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls() 150 uptr stack_bottom, uptr stack_size, in BeforeThreadCreateHook() argument 160 stack_bottom, stack_size, tls_bottom, tls_size); in BeforeThreadCreateHook() 200 PoisonShadow(thread->stack_bottom(), thread->stack_size(), 0); in ThreadStartHook()
|
D | asan_fuchsia.cpp | 88 uptr stack_bottom, stack_size; member 114 CHECK_NE(options->stack_bottom, 0); in SetThreadStackAndTls() 116 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls() 117 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls() 147 const char *name, uptr stack_bottom, in BeforeThreadCreateHook() argument 162 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook()
|
D | asan_stack.cpp | 69 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl() 75 !IsValidFrame(bp, t->stack_top(), t->stack_bottom())) in UnwindImpl()
|
D | asan_thread.cpp | 182 uptr AsanThread::stack_bottom() { in stack_bottom() function in __asan::AsanThread 336 bottom = stack_bottom(); in GetStackFrameAccessByAddr() 377 bottom = stack_bottom(); in GetStackVariableShadowStart() 485 *stack_begin = t->stack_bottom(); in GetThreadRangesLocked()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace.cc | 48 uptr stack_bottom) { in GetCanonicFrame() argument 50 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame() 52 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame() 55 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame() 68 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument 74 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack() 77 uptr bottom = stack_bottom; in FastUnwindStack()
|
D | sanitizer_stacktrace.h | 98 uptr stack_bottom, bool request_fast_unwind); 101 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, 114 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument 115 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
|
D | sanitizer_linux_libcdep.cc | 78 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 80 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 109 *stack_bottom = end - stacksize; in GetThreadStackTopAndBottom() 122 *stack_bottom = (uptr)stackaddr; in GetThreadStackTopAndBottom() 397 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 398 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 399 *stk_addr = stack_bottom; in GetThreadStackAndTls() 400 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_mac.cc | 248 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 250 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 268 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom() 366 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local 367 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 368 *stk_addr = stack_bottom; in GetThreadStackAndTls() 369 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_stacktrace_libcdep.cc | 58 uptr stack_top, uptr stack_bottom, in Unwind() argument 81 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
|
D | sanitizer_win.cc | 75 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 77 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 84 *stack_bottom = (uptr)mbi.AllocationBase; in GetThreadStackTopAndBottom() 706 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 707 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 708 *stk_addr = stack_bottom; in GetThreadStackAndTls() 709 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
/external/compiler-rt/lib/lsan/ |
D | lsan.h | 21 uptr stack_top = 0, stack_bottom = 0; \ 25 stack_bottom = t->stack_begin(); \ 28 IsValidFrame(GET_CURRENT_FRAME(), stack_top, stack_bottom)) { \ 30 /* context */ 0, stack_top, stack_bottom, fast); \
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan.cpp | 37 uptr stack_top = 0, stack_bottom = 0; in UnwindImpl() local 42 stack_bottom = t->stack_begin(); in UnwindImpl() 44 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { in UnwindImpl() 46 Unwind(max_depth, pc, bp, nullptr, stack_top, stack_bottom, true); in UnwindImpl()
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.h | 49 uptr stack_bottom = t->stack_bottom(); in GetStackTraceWithPcBpAndContext() 51 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { in GetStackTraceWithPcBpAndContext() 52 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTraceWithPcBpAndContext()
|
D | asan_thread.cc | 179 uptr AsanThread::stack_bottom() { in stack_bottom() function in __asan::AsanThread 286 bottom = stack_bottom(); in GetStackFrameAccessByAddr() 403 *stack_begin = t->stack_bottom(); in GetThreadRangesLocked()
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_thread.h | 31 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() function 32 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size()
|
D | hwasan_thread.cpp | 103 unique_id_, this, stack_bottom(), stack_top(), in Print() 104 stack_top() - stack_bottom(), in Print()
|
/external/google-breakpad/src/client/solaris/handler/ |
D | minidump_generator.cc | 109 uintptr_t stack_bottom = lwp_lister->GetLwpStackBottom(last_ebp); in IsLwpCrashedCallback() local 110 if (stack_bottom > last_ebp && in IsLwpCrashedCallback() 111 stack_bottom == crashing_context->crashing_stack_bottom) { in IsLwpCrashedCallback() 138 uintptr_t stack_bottom = lwp_lister->GetLwpStackBottom(last_esp); in WriteLwpStack() local 139 if (stack_bottom >= last_esp) { in WriteLwpStack() 140 int size = stack_bottom - last_esp; in WriteLwpStack()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_stack.cpp | 43 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
|