| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace.cpp | 75 uptr stack_bottom) { in GetCanonicFrame() argument 76 CHECK_GT(stack_top, stack_bottom); in GetCanonicFrame() 78 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame() 80 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame() 83 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame() 96 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument 103 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast() 106 uptr bottom = stack_bottom; in UnwindFast()
|
| H A D | sanitizer_stacktrace.h | 135 uptr stack_bottom, bool request_fast_unwind); 148 void UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, 171 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument 172 return frame > stack_bottom && frame < stack_top - kFrameSize; in IsValidFrame()
|
| H A D | sanitizer_stacktrace_sparc.cpp | 29 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument 63 uptr bottom = stack_bottom; in UnwindFast()
|
| H A D | sanitizer_linux_libcdep.cpp | 105 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 107 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 116 *stack_top = *stack_bottom = 0; in GetThreadStackTopAndBottom() 137 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom() 156 *stack_bottom = (uptr)stackaddr; in GetThreadStackTopAndBottom() 564 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 565 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 566 *stk_addr = stack_bottom; in GetThreadStackAndTls() 567 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_win.cpp | 116 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 118 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 125 *stack_bottom = (uptr)mbi.AllocationBase; in GetThreadStackTopAndBottom() 866 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 867 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 868 *stk_addr = stack_bottom; in GetThreadStackAndTls() 869 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_stacktrace_libcdep.cpp | 137 uptr stack_top, uptr stack_bottom, in Unwind() argument 166 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
|
| H A D | sanitizer_mac.cpp | 400 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 402 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 420 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom() 583 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local 584 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 585 *stk_addr = stack_bottom; in GetThreadStackAndTls() 586 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_fuchsia.cpp | 76 void GetThreadStackTopAndBottom(bool, uptr *stack_top, uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 84 *stack_bottom = reinterpret_cast<uptr>(base); in GetThreadStackTopAndBottom() 85 *stack_top = *stack_bottom + size; in GetThreadStackTopAndBottom()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 57 uptr stack_bottom, stack_top; member 78 .stack_bottom = __sanitizer::MainThreadStackBase, in InitThreads() 92 const char *name, uptr stack_bottom, in BeforeThreadCreateHook() argument 95 .stack_bottom = stack_bottom, in BeforeThreadCreateHook() 96 .stack_top = stack_bottom + stack_size, in BeforeThreadCreateHook() 104 CHECK_NE(state->stack_bottom, 0); in InitStackAndTls() 106 stack_bottom_ = state->stack_bottom; in InitStackAndTls()
|
| H A D | hwasan_thread.h | 40 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() function 41 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size()
|
| H A D | hwasan_thread.cpp | 112 unique_id_, this, stack_bottom(), stack_top(), in Print() 113 stack_top() - stack_bottom(), in Print()
|
| H A D | hwasan.cpp | 256 Unwind(max_depth, pc, bp, context, t->stack_top(), t->stack_bottom(), in UnwindImpl() 538 uptr bottom = t->stack_bottom(); in __hwasan_handle_vfork()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan.cpp | 37 uptr stack_top = 0, stack_bottom = 0; in UnwindImpl() local 40 stack_bottom = t->stack_begin(); in UnwindImpl() 42 if (SANITIZER_MIPS && !IsValidFrame(bp, stack_top, stack_bottom)) in UnwindImpl() 45 Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in UnwindImpl()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A 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()
|
| H A 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() 78 t ? t->stack_bottom() : 0, false); in UnwindImpl()
|
| H A D | asan_thread.cpp | 191 uptr AsanThread::stack_bottom() { in stack_bottom() function in __asan::AsanThread 340 bottom = stack_bottom(); in GetStackFrameAccessByAddr() 381 bottom = stack_bottom(); in GetStackVariableShadowStart() 489 *stack_begin = t->stack_bottom(); in GetThreadRangesLocked()
|
| H A D | asan_thread.h | 72 uptr stack_bottom();
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_stack.cpp | 43 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
|
| H A D | memprof_thread.h | 72 uptr stack_bottom();
|
| H A D | memprof_thread.cpp | 116 uptr MemprofThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() function in __memprof::MemprofThread
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.h | 37 uptr stack_bottom();
|
| H A D | dfsan_thread.cpp | 104 uptr DFsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() function in __dfsan::DFsanThread
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_thread.h | 31 uptr stack_bottom();
|
| H A D | msan_thread.cpp | 97 uptr MsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() function in __msan::MsanThread
|
| H A D | msan.cpp | 312 t ? t->stack_bottom() : 0, false); in UnwindImpl() 315 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true); in UnwindImpl()
|