Home
last modified time | relevance | path

Searched refs:stack_bottom (Results 1 – 25 of 53) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_rtems.cc94 uptr stack_bottom, stack_size, tls_bottom, tls_size; member
100 uptr stack_bottom, uptr stack_size, in CreateAsanThread() argument
110 const AsanThread::InitOptions options = {stack_bottom, stack_size, in CreateAsanThread()
122 CHECK_NE(options->stack_bottom, 0); in SetThreadStackAndTls()
124 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
125 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
141 uptr stack_bottom, uptr stack_size, in BeforeThreadCreateHook() argument
151 stack_bottom, stack_size, tls_bottom, tls_size); in BeforeThreadCreateHook()
191 PoisonShadow(thread->stack_bottom(), thread->stack_size(), 0); in ThreadStartHook()
H A Dasan_fuchsia.cc85 uptr stack_bottom, stack_size; member
91 const char *name, uptr stack_bottom, in CreateAsanThread() argument
104 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in CreateAsanThread()
118 CHECK_NE(options->stack_bottom, 0); in SetThreadStackAndTls()
120 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
121 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
144 const char *name, uptr stack_bottom, in BeforeThreadCreateHook() argument
154 stack_bottom, stack_size); in BeforeThreadCreateHook()
H A Dasan_stack.h46 uptr stack_bottom = t->stack_bottom(); in GetStackTrace()
48 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { in GetStackTrace()
49 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTrace()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_rtems.cc96 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 Dasan_fuchsia.cc87 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 Dasan_stack.h44 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()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_fuchsia.cpp57 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()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_stacktrace.cpp76 uptr stack_bottom) { in GetCanonicFrame() argument
77 CHECK_GT(stack_top, stack_bottom); in GetCanonicFrame()
79 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
81 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
84 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
97 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
104 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast()
107 uptr bottom = stack_bottom; in UnwindFast()
H A Dsanitizer_stacktrace.h135 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 Dsanitizer_stacktrace_sparc.cpp29 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
63 uptr bottom = stack_bottom; in UnwindFast()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_stacktrace.cc52 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 Dsanitizer_rtems.cc76 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 Dsanitizer_stacktrace.h101 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 Dsanitizer_linux_libcdep.cc96 uptr *stack_bottom) { in GetThreadStackTopAndBottom()
98 CHECK(stack_bottom); in GetThreadStackTopAndBottom()
107 *stack_top = *stack_bottom = 0; in GetThreadStackTopAndBottom()
128 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom()
152 *stack_bottom = (uptr)stackaddr; in GetThreadStackTopAndBottom()
517 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
518 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
519 *stk_addr = stack_bottom; in GetThreadStackAndTls()
520 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
97 GetThreadStackTopAndBottom(bool at_initialization,uptr * stack_top,uptr * stack_bottom) GetThreadStackTopAndBottom() argument
H A Dsanitizer_stacktrace_sparc.cc26 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
37 uptr bottom = stack_bottom; in FastUnwindStack()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_stacktrace.cc49 uptr stack_bottom) { in GetCanonicFrame() argument
51 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
53 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
56 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
69 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
75 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack()
78 uptr bottom = stack_bottom; in FastUnwindStack()
H A Dsanitizer_rtems.cc78 uptr *stack_top, uptr *stack_bottom) { in GetThreadStackTopAndBottom() argument
87 *stack_bottom = reinterpret_cast<uptr>(base); in GetThreadStackTopAndBottom()
88 *stack_top = *stack_bottom + size; in GetThreadStackTopAndBottom()
93 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local
94 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
95 *stk_addr = stack_bottom; in GetThreadStackAndTls()
96 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
H A Dsanitizer_stacktrace.h99 uptr stack_bottom, bool request_fast_unwind);
107 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
120 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument
121 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_fuchsia.cpp73 uptr bottom = curr_thread->stack_bottom(); in PlatformUnpoisonStacks()
116 uptr stack_bottom, stack_size; member
142 CHECK_NE(options->stack_bottom, 0); in SetThreadStackAndTls()
144 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
145 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
175 const char *name, uptr stack_bottom, in BeforeThreadCreateHook() argument
191 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook()
H A Dasan_stack.cpp69 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()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan.h51 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()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan.h49 uptr stack_top = 0, stack_bottom = 0; in GetStackTrace() local
53 stack_bottom = t->stack_begin(); in GetStackTrace()
55 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { in GetStackTrace()
56 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in GetStackTrace()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/lsan/
H A Dlsan.cpp37 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()
/netbsd-src/sys/arch/evbmips/stand/sbmips/common/
H A Dstart.S42 .comm stack_bottom,STACK_SIZE
50 la sp,stack_bottom+STACK_SIZE-32
/netbsd-src/sys/arch/sbmips/stand/common/
H A Dstart.S42 .comm stack_bottom,STACK_SIZE
50 la sp,stack_bottom+STACK_SIZE-32

123