/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stacktrace.cpp | 50 uptr stack_bottom) { 51 CHECK_GT(stack_top, stack_bottom); 53 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; 55 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; 58 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) 71 uptr stack_bottom, u32 max_depth) { 72 // TODO(yln): add arg sanity check for stack_top/stack_bottom 78 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); 81 uptr bottom = stack_bottom; 48 GetCanonicFrame(uptr bp, uptr stack_top, uptr stack_bottom) argument 70 UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, u32 max_depth) argument
|
H A D | sanitizer_stacktrace_sparc.cpp | 29 uptr stack_bottom, u32 max_depth) { 30 // TODO(yln): add arg sanity check for stack_top/stack_bottom 63 uptr bottom = stack_bottom; 28 UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, u32 max_depth) argument
|
H A D | sanitizer_rtems.cpp | 79 uptr *stack_top, uptr *stack_bottom) { 88 *stack_bottom = reinterpret_cast<uptr>(base); 89 *stack_top = *stack_bottom + size; 94 uptr stack_top, stack_bottom; local 95 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); 96 *stk_addr = stack_bottom; 97 *stk_size = stack_top - stack_bottom; 78 GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, uptr *stack_bottom) argument
|
H A D | sanitizer_stacktrace.h | 119 uptr stack_bottom, bool request_fast_unwind); 132 void UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, 147 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { argument 148 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr);
|
H A D | sanitizer_linux_libcdep.cpp | 99 uptr *stack_bottom) { 101 CHECK(stack_bottom); 110 *stack_top = *stack_bottom = 0; 131 *stack_bottom = segment.end - stacksize; 155 *stack_bottom = (uptr)stackaddr; 510 uptr stack_top, stack_bottom; 511 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); 512 *stk_addr = stack_bottom; 513 *stk_size = stack_top - stack_bottom; 98 GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, uptr *stack_bottom) argument
|
H A D | sanitizer_stacktrace_libcdep.cpp | 58 uptr stack_top, uptr stack_bottom, 83 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); 57 Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top, uptr stack_bottom, bool request_fast_unwind) argument
|
H A D | sanitizer_mac.cpp | 383 uptr *stack_bottom) { 385 CHECK(stack_bottom); 403 *stack_bottom = *stack_top - stacksize; 559 uptr stack_top, stack_bottom; local 560 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); 561 *stk_addr = stack_bottom; 562 *stk_size = stack_top - stack_bottom; 382 GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, uptr *stack_bottom) argument
|
H A D | sanitizer_win.cpp | 113 uptr *stack_bottom) { 115 CHECK(stack_bottom); 122 *stack_bottom = (uptr)mbi.AllocationBase; 835 uptr stack_top, stack_bottom; 836 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); 837 *stk_addr = stack_bottom; 838 *stk_size = stack_top - stack_bottom; 112 GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, uptr *stack_bottom) argument
|
H A D | sanitizer_fuchsia.cpp | 85 void GetThreadStackTopAndBottom(bool, uptr *stack_top, uptr *stack_bottom) { argument 93 *stack_bottom = reinterpret_cast<uptr>(base); 94 *stack_top = *stack_bottom + size;
|
H A D | sanitizer_common.h | 88 uptr *stack_bottom);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_rtems.cpp | 97 uptr stack_bottom, stack_size, tls_bottom, tls_size; member in struct:__asan::AsanThread::InitOptions 103 uptr stack_bottom, uptr stack_size, 113 const AsanThread::InitOptions options = {stack_bottom, stack_size, 125 CHECK_NE(options->stack_bottom, 0); 127 stack_bottom_ = options->stack_bottom; 128 stack_top_ = options->stack_bottom + options->stack_size; 144 uptr stack_bottom, uptr stack_size, 154 stack_bottom, stack_size, tls_bottom, tls_size); 194 PoisonShadow(thread->stack_bottom(), thread->stack_size(), 0); 101 CreateAsanThread(StackTrace *stack, u32 parent_tid, uptr user_id, bool detached, uptr stack_bottom, uptr stack_size, uptr tls_bottom, uptr tls_size) argument 143 BeforeThreadCreateHook(uptr user_id, bool detached, uptr stack_bottom, uptr stack_size, uptr tls_bottom, uptr tls_size) argument
|
H A D | asan_fuchsia.cpp | 88 uptr stack_bottom, stack_size; member in struct:__asan::AsanThread::InitOptions 94 const char *name, uptr stack_bottom, 107 const AsanThread::InitOptions options = {stack_bottom, stack_size}; 121 CHECK_NE(options->stack_bottom, 0); 123 stack_bottom_ = options->stack_bottom; 124 stack_top_ = options->stack_bottom + options->stack_size; 147 const char *name, uptr stack_bottom, 157 stack_bottom, stack_size); 92 CreateAsanThread(StackTrace *stack, u32 parent_tid, uptr user_id, bool detached, const char *name, uptr stack_bottom, uptr stack_size) argument 146 BeforeThreadCreateHook(uptr user_id, bool detached, const char *name, uptr stack_bottom, uptr stack_size) argument
|
H A D | asan_stack.cpp | 69 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), 75 !IsValidFrame(bp, t->stack_top(), t->stack_bottom()))
|
H A D | asan_thread.cpp | 182 uptr AsanThread::stack_bottom() { function in class:__asan::AsanThread 325 bottom = stack_bottom(); 366 bottom = stack_bottom(); 472 *stack_begin = t->stack_bottom();
|
H A D | asan_thread.h | 76 uptr stack_bottom();
|
H A D | asan_rtl.cpp | 626 uptr bottom = t->stack_bottom();
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan.cpp | 37 uptr stack_top = 0, stack_bottom = 0; 42 stack_bottom = t->stack_begin(); 44 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { 46 Unwind(max_depth, pc, bp, nullptr, stack_top, stack_bottom, true);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_thread.h | 31 uptr stack_bottom() { return stack_bottom_; } function in class:__hwasan::Thread 32 uptr stack_size() { return stack_top() - stack_bottom(); }
|
H A D | hwasan_thread.cpp | 103 unique_id_, this, stack_bottom(), stack_top(), 104 stack_top() - stack_bottom(),
|
H A D | hwasan.cpp | 195 Unwind(max_depth, pc, bp, context, t->stack_top(), t->stack_bottom(), 480 uptr bottom = t->stack_bottom();
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_thread.h | 31 uptr stack_bottom() { return stack_bottom_; } function in class:__msan::MsanThread
|
H A D | msan.cpp | 316 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true);
|