Home
last modified time | relevance | path

Searched refs:stack_bottom_ (Results 1 – 18 of 18) sorted by relevance

/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_thread.cc153 *bottom_old = stack_bottom_; in FinishSwitchFiber()
156 stack_bottom_ = next_stack_bottom_; in FinishSwitchFiber()
167 return {stack_bottom_, stack_top_}; in GetStackBounds()
176 return {stack_bottom_, stack_top_}; in GetStackBounds()
226 if (stack_top_ != stack_bottom_) { in Init()
228 CHECK(AddrIsInMem(stack_bottom_)); in Init()
237 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
300 if (stack_top_ != stack_bottom_) { in SetThreadStackAndTls()
309 if (stack_top_ != stack_bottom_) in ClearShadowForThreadStackAndTLS()
310 PoisonShadow(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
[all …]
H A Dasan_thread.h154 uptr stack_bottom_; variable
H A Dasan_fuchsia.cc122 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
H A Dasan_rtems.cc126 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
/netbsd/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_thread.cpp42 CHECK_EQ(0, stack_bottom_); in Init()
72 if (stack_bottom_) { in InitStackRingBuffer()
75 CHECK(MemIsApp(stack_bottom_)); in InitStackRingBuffer()
90 if (stack_top_ != stack_bottom_) in ClearShadowForThreadStackAndTLS()
91 TagMemory(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
H A Dhwasan_thread.h45 uptr stack_bottom() { return stack_bottom_; } in stack_bottom()
52 return addr >= stack_bottom_ && addr < stack_top_; in AddrIsInStack()
81 uptr stack_bottom_; variable
H A Dhwasan_linux.cpp403 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, &tls_begin_, in InitStackAndTls()
405 stack_top_ = stack_bottom_ + stack_size; in InitStackAndTls()
H A Dhwasan_fuchsia.cpp106 stack_bottom_ = state->stack_bottom; in InitStackAndTls()
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_thread.cc155 *bottom_old = stack_bottom_; in FinishSwitchFiber()
157 *size_old = stack_top_ - stack_bottom_; in FinishSwitchFiber()
158 stack_bottom_ = next_stack_bottom_; in FinishSwitchFiber()
168 if (stack_bottom_ >= stack_top_) return {0, 0}; in GetStackBounds()
169 return {stack_bottom_, stack_top_}; in GetStackBounds()
178 return {stack_bottom_, stack_top_}; in GetStackBounds()
229 CHECK(AddrIsInMem(stack_bottom_)); in Init()
237 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
294 GetThreadStackAndTls(tid() == 0, const_cast<uptr *>(&stack_bottom_), in SetThreadStackAndTls()
296 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
[all …]
H A Dasan_thread.h152 uptr stack_bottom_; variable
H A Dasan_fuchsia.cc120 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
H A Dasan_rtems.cc124 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_thread.cc155 *bottom_old = stack_bottom_; in FinishSwitchFiber()
157 *size_old = stack_top_ - stack_bottom_; in FinishSwitchFiber()
158 stack_bottom_ = next_stack_bottom_; in FinishSwitchFiber()
168 if (stack_bottom_ >= stack_top_) return {0, 0}; in GetStackBounds()
169 return {stack_bottom_, stack_top_}; in GetStackBounds()
178 return {stack_bottom_, stack_top_}; in GetStackBounds()
229 CHECK(AddrIsInMem(stack_bottom_)); in Init()
237 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
294 GetThreadStackAndTls(tid() == 0, const_cast<uptr *>(&stack_bottom_), in SetThreadStackAndTls()
296 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
[all …]
H A Dasan_thread.h152 uptr stack_bottom_; variable
H A Dasan_rtems.cc124 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
H A Dasan_fuchsia.cc120 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/msan/
H A Dmsan_thread.cc25 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, in SetThreadStackAndTls()
27 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
35 __msan_unpoison((void *)stack_bottom_, stack_top_ - stack_bottom_); in ClearShadowForThreadStackAndTLS()
46 CHECK(MEM_IS_APP(stack_bottom_)); in Init()
H A Dmsan_thread.h32 uptr stack_bottom() { return stack_bottom_; } in stack_bottom()
38 return addr >= stack_bottom_ && addr < stack_top_; in AddrIsInStack()
57 uptr stack_bottom_; variable