| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_rtems.cc | 96 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 D | asan_fuchsia.cc | 87 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 D | asan_stack.h | 44 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 D | asan_thread.cc | 183 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 D | asan_thread.h | 77 uptr stack_bottom();
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace.cc | 52 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 D | sanitizer_rtems.cc | 76 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 D | sanitizer_stacktrace.h | 101 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 D | sanitizer_linux_libcdep.cc | 93 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 D | sanitizer_stacktrace_sparc.cc | 26 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument 37 uptr bottom = stack_bottom; in FastUnwindStack()
|
| H A D | sanitizer_win.cc | 98 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 D | sanitizer_stacktrace_libcdep.cc | 59 uptr stack_top, uptr stack_bottom, in Unwind() argument 82 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
|
| H A D | sanitizer_mac.cc | 301 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 D | sanitizer_fuchsia.cc | 77 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 D | sanitizer_common.h | 89 uptr *stack_bottom);
|
| /freebsd-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan.h | 51 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 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()
|
| H A D | hwasan_thread.cc | 89 unique_id_, this, stack_bottom(), stack_top(), in Print() 90 stack_top() - stack_bottom(), in Print()
|
| H A D | hwasan.cc | 158 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 D | msan_thread.h | 32 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() function
|
| H A D | msan.cc | 233 stack->Unwind(max_s, pc, bp, context, t->stack_top(), t->stack_bottom(), in GetStackTrace()
|