Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_rtems.cc96 uptr stack_bottom, stack_size, tls_bottom, tls_size; member
102 uptr stack_bottom, uptr stack_size, in CreateAsanThread() argument
112 const AsanThread::InitOptions options = {stack_bottom, stack_size, in CreateAsanThread()
124 CHECK_NE(options->stack_bottom, 0); in SetThreadStackAndTls()
126 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
127 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
143 uptr stack_bottom, uptr stack_size, in BeforeThreadCreateHook() argument
153 stack_bottom, stack_size, tls_bottom, tls_size); in BeforeThreadCreateHook()
193 PoisonShadow(thread->stack_bottom(), thread->stack_size(), 0); in ThreadStartHook()
H A Dasan_fuchsia.cc87 uptr stack_bottom, stack_size; member
93 const char *name, uptr stack_bottom, in CreateAsanThread() argument
106 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in CreateAsanThread()
120 CHECK_NE(options->stack_bottom, 0); in SetThreadStackAndTls()
122 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
123 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
146 const char *name, uptr stack_bottom, in BeforeThreadCreateHook() argument
156 stack_bottom, stack_size); in BeforeThreadCreateHook()
H A Dasan_stack.h44 uptr stack_bottom = t->stack_bottom(); in GetStackTrace()
46 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { in GetStackTrace()
47 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTrace()
H A Dasan_thread.cc183 uptr AsanThread::stack_bottom() { in stack_bottom() function in __asan::AsanThread
327 bottom = stack_bottom(); in GetStackFrameAccessByAddr()
368 bottom = stack_bottom(); in GetStackVariableShadowStart()
473 *stack_begin = t->stack_bottom(); in GetThreadRangesLocked()
H A Dasan_thread.h77 uptr stack_bottom();
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace.cc52 uptr stack_bottom) { in GetCanonicFrame() argument
54 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
56 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
59 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
72 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
78 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack()
81 uptr bottom = stack_bottom; in FastUnwindStack()
H A Dsanitizer_rtems.cc76 uptr *stack_top, uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
85 *stack_bottom = reinterpret_cast<uptr>(base); in GetThreadStackTopAndBottom()
86 *stack_top = *stack_bottom + size; in GetThreadStackTopAndBottom()
91 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local
92 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
93 *stk_addr = stack_bottom; in GetThreadStackAndTls()
94 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
H A Dsanitizer_stacktrace.h101 uptr stack_bottom, bool request_fast_unwind);
109 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
122 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument
123 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
H A Dsanitizer_linux_libcdep.cc93 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
95 CHECK(stack_bottom); in GetThreadStackTopAndBottom()
104 *stack_top = *stack_bottom = 0; in GetThreadStackTopAndBottom()
125 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom()
149 *stack_bottom = (uptr)stackaddr; in GetThreadStackTopAndBottom()
514 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
515 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
516 *stk_addr = stack_bottom; in GetThreadStackAndTls()
517 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
H A Dsanitizer_stacktrace_sparc.cc26 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
37 uptr bottom = stack_bottom; in FastUnwindStack()
H A Dsanitizer_win.cc98 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
100 CHECK(stack_bottom); in GetThreadStackTopAndBottom()
107 *stack_bottom = (uptr)mbi.AllocationBase; in GetThreadStackTopAndBottom()
807 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
808 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
809 *stk_addr = stack_bottom; in GetThreadStackAndTls()
810 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
H A Dsanitizer_stacktrace_libcdep.cc59 uptr stack_top, uptr stack_bottom, in Unwind() argument
82 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
H A Dsanitizer_mac.cc301 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
303 CHECK(stack_bottom); in GetThreadStackTopAndBottom()
321 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
477 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local
478 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
479 *stk_addr = stack_bottom; in GetThreadStackAndTls()
480 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
H A Dsanitizer_fuchsia.cc77 void GetThreadStackTopAndBottom(bool, uptr *stack_top, uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
85 *stack_bottom = reinterpret_cast<uptr>(base); in GetThreadStackTopAndBottom()
86 *stack_top = *stack_bottom + size; in GetThreadStackTopAndBottom()
H A Dsanitizer_common.h89 uptr *stack_bottom);
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan.h51 uptr stack_top = 0, stack_bottom = 0; in GetStackTrace() local
55 stack_bottom = t->stack_begin(); in GetStackTrace()
57 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { in GetStackTrace()
58 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in GetStackTrace()
/freebsd-12.1/contrib/compiler-rt/lib/hwasan/
H A 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()
H A Dhwasan_thread.cc89 unique_id_, this, stack_bottom(), stack_top(), in Print()
90 stack_top() - stack_bottom(), in Print()
H A Dhwasan.cc158 stack->Unwind(max_s, pc, bp, context, t->stack_top(), t->stack_bottom(), in GetStackTrace()
/freebsd-12.1/contrib/compiler-rt/lib/msan/
H A Dmsan_thread.h32 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() function
H A Dmsan.cc233 stack->Unwind(max_s, pc, bp, context, t->stack_top(), t->stack_bottom(), in GetStackTrace()