| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace.cpp | 77 uptr stack_bottom) { in GetCanonicFrame() argument 78 CHECK_GT(stack_top, stack_bottom); in GetCanonicFrame() 80 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame() 82 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame() 85 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame() 98 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument 105 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast() 108 uptr bottom = stack_bottom; in UnwindFast()
|
| H A D | sanitizer_stacktrace.h | 134 uptr stack_bottom, bool request_fast_unwind); 147 void UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, 170 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument 171 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 57 uptr bottom = stack_bottom; in UnwindFast()
|
| H A D | sanitizer_linux_libcdep.cpp | 124 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 126 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 135 *stack_top = *stack_bottom = 0; in GetThreadStackTopAndBottom() 158 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom() 190 *stack_bottom = (uptr)stackaddr; in GetThreadStackTopAndBottom() 692 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 693 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 694 *stk_begin = stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_stacktrace_libcdep.cpp | 138 uptr stack_top, uptr stack_bottom, in Unwind() argument 167 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
|
| H A D | sanitizer_fuchsia.cpp | 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_win.cpp | 121 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 123 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 130 *stack_bottom = (uptr)mbi.AllocationBase; in GetThreadStackTopAndBottom()
|
| H A D | sanitizer_mac.cpp | 404 uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 406 CHECK(stack_bottom); in GetThreadStackTopAndBottom() 424 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 69 uptr stack_bottom, stack_top; member 90 .stack_bottom = __sanitizer::MainThreadStackBase, in InitThreads() 104 const char *name, uptr stack_bottom, in BeforeThreadCreateHook() argument 107 .stack_bottom = stack_bottom, in BeforeThreadCreateHook() 108 .stack_top = stack_bottom + stack_size, in BeforeThreadCreateHook() 116 CHECK_NE(state->stack_bottom, 0); in InitStackAndTls() 118 stack_bottom_ = state->stack_bottom; in InitStackAndTls()
|
| H A D | hwasan_thread.cpp | 124 (void *)this, stack_bottom(), stack_top(), in Print() 125 stack_top() - stack_bottom(), tls_begin(), tls_end()); in Print() 200 *stack_begin = t->stack_bottom(); in GetThreadRangesLocked()
|
| H A D | hwasan_thread.h | 45 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() function 46 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_fuchsia.cpp | 77 uptr bottom = curr_thread->stack_bottom(); in PlatformUnpoisonStacks() 120 uptr stack_bottom, stack_size; member 143 CHECK_NE(options->stack_bottom, 0); in SetThreadStackAndTls() 145 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls() 146 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls() 176 const char *name, uptr stack_bottom, in BeforeThreadCreateHook() argument 191 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook()
|
| H A D | asan_thread.cpp | 214 uptr AsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() function in __asan::AsanThread 338 bottom = stack_bottom(); in GetStackFrameAccessByAddr() 379 bottom = stack_bottom(); in GetStackVariableShadowStart() 506 *stack_begin = t->stack_bottom(); in GetThreadRangesLocked()
|
| H A D | asan_thread.h | 82 uptr stack_bottom();
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan.cpp | 38 uptr stack_top = 0, stack_bottom = 0; in UnwindImpl() local 41 stack_bottom = t->stack_begin(); in UnwindImpl() 43 if (SANITIZER_MIPS && !IsValidFrame(bp, stack_top, stack_bottom)) in UnwindImpl() 46 Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in UnwindImpl()
|
| /freebsd/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 | 66 uptr stack_bottom();
|
| H A D | memprof_thread.cpp | 112 uptr MemprofThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() function in __memprof::MemprofThread
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.h | 36 uptr stack_bottom();
|
| H A D | dfsan_thread.cpp | 87 uptr DFsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() function in DFsanThread
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_thread.h | 31 uptr stack_bottom();
|
| H A D | msan_thread.cpp | 89 uptr MsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() function in MsanThread
|
| H A D | msan.cpp | 343 t ? t->stack_bottom() : 0, false); in UnwindImpl() 346 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true); in UnwindImpl()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
| H A D | nsan_thread.h | 28 uptr stack_bottom();
|
| H A D | nsan_thread.cpp | 97 uptr NsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom() function in NsanThread
|