| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace.cpp | 76 uptr stack_top, 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() 97 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, in UnwindFast() argument 104 if (stack_top < 4096) return; // Sanity check for stack top. in UnwindFast() 105 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast() 110 while (IsValidFrame((uptr)frame, stack_top, bottom) && in UnwindFast() 118 if (!IsValidFrame((uptr)caller_frame, stack_top, bottom) || in UnwindFast() [all …]
|
| H A D | sanitizer_stacktrace_sparc.cpp | 28 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, in UnwindFast() argument 41 if (stack_top < 4096) return; // Sanity check for stack top. in UnwindFast() 65 while (IsValidFrame(bp, stack_top, bottom) && IsAligned(bp, sizeof(uhwptr)) && in UnwindFast()
|
| H A D | sanitizer_stacktrace.h | 133 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top, 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_linux_libcdep.cpp | 104 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 106 CHECK(stack_top); in GetThreadStackTopAndBottom() 116 *stack_top = *stack_bottom = 0; in GetThreadStackTopAndBottom() 136 *stack_top = segment.end; in GetThreadStackTopAndBottom() 155 *stack_top = (uptr)stackaddr + stacksize; in GetThreadStackTopAndBottom() 613 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 614 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 616 *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_win.cpp | 120 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 122 CHECK(stack_top); in GetThreadStackTopAndBottom() 129 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom() 875 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 876 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 878 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_mac.cpp | 410 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 412 CHECK(stack_top); in GetThreadStackTopAndBottom() 430 *stack_top = (uptr)stackaddr; in GetThreadStackTopAndBottom() 431 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom() 578 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local 579 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 581 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_unwind_linux_libcdep.cpp | 36 uptr stack_top; member
|
| H A D | sanitizer_fuchsia.cpp | 77 void GetThreadStackTopAndBottom(bool, uptr *stack_top, uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument 86 *stack_top = *stack_bottom + size; in GetThreadStackTopAndBottom()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/lsan/ |
| H A D | lsan.cpp | 38 uptr stack_top = 0, stack_bottom = 0; in UnwindImpl() local 40 stack_top = t->stack_end(); 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()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 60 uptr stack_bottom, stack_top; member 82 .stack_top = in InitThreads() 99 .stack_top = stack_bottom + stack_size, in BeforeThreadCreateHook() 108 CHECK_NE(state->stack_top, 0); in InitStackAndTls() 110 stack_top_ = state->stack_top; in InitStackAndTls()
|
| H A D | hwasan_thread.cpp | 116 (void *)this, stack_bottom(), stack_top(), in Print() 117 stack_top() - stack_bottom(), tls_begin(), tls_end()); in Print() 185 *stack_end = t->stack_top(); in GetThreadRangesLocked()
|
| H A D | hwasan_thread.h | 44 uptr stack_top() { return stack_top_; } in stack_top() function 46 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/asan/ |
| 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() 77 Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()
|
| H A D | asan_thread.h | 71 uptr stack_top();
|
| H A D | asan_thread.cpp | 186 uptr AsanThread::stack_top() { in stack_top() function in __asan::AsanThread 498 *stack_end = t->stack_top(); in GetThreadRangesLocked()
|
| /openbsd-src/gnu/llvm/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 | 71 uptr stack_top();
|
| H A D | memprof_thread.cpp | 113 uptr MemprofThread::stack_top() { return GetStackBounds().top; } in stack_top() function in __memprof::MemprofThread
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.h | 35 uptr stack_top();
|
| H A D | dfsan_thread.cpp | 90 uptr DFsanThread::stack_top() { return GetStackBounds().top; } in stack_top() function in __dfsan::DFsanThread
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/msan/ |
| H A D | msan_thread.h | 30 uptr stack_top();
|
| H A D | msan_thread.cpp | 93 uptr MsanThread::stack_top() { return GetStackBounds().top; } in stack_top() function in __msan::MsanThread
|
| /openbsd-src/sys/arch/octeon/include/ |
| H A D | octeonvar.h | 232 uint64_t stack_top; member 265 uint64_t stack_top; member
|
| /openbsd-src/gnu/usr.bin/perl/ext/File-Find/lib/File/ |
| H A D | Find.pm | 434 my $stack_top = @Stack; 449 splice @Stack, $stack_top, 0,
|