Home
last modified time | relevance | path

Searched refs:stack_bottom (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cpp74 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()
Dsanitizer_rtems.cpp79 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()
Dsanitizer_stacktrace.h126 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()
Dsanitizer_linux_libcdep.cpp98 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()
Dsanitizer_stacktrace_sparc.cpp29 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
63 uptr bottom = stack_bottom; in UnwindFast()
Dsanitizer_stacktrace_libcdep.cpp64 uptr stack_top, uptr stack_bottom, in Unwind() argument
89 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
Dsanitizer_win.cpp113 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/
Dasan_rtems.cpp103 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()
Dasan_fuchsia.cpp88 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()
Dasan_stack.cpp69 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()
Dasan_thread.cpp182 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/
Dsanitizer_stacktrace.cc48 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()
Dsanitizer_stacktrace.h98 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()
Dsanitizer_linux_libcdep.cc78 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()
Dsanitizer_mac.cc248 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()
Dsanitizer_stacktrace_libcdep.cc58 uptr stack_top, uptr stack_bottom, in Unwind() argument
81 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
Dsanitizer_win.cc75 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/
Dlsan.h21 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/
Dlsan.cpp37 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/
Dasan_stack.h49 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()
Dasan_thread.cc179 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/
Dhwasan_thread.h31 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() function
32 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size()
Dhwasan_thread.cpp103 unique_id_, this, stack_bottom(), stack_top(), in Print()
104 stack_top() - stack_bottom(), in Print()
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc109 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/
Dmemprof_stack.cpp43 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()

12