/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_thread.cc | 153 *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 D | asan_thread.h | 154 uptr stack_bottom_; variable
|
H A D | asan_fuchsia.cc | 122 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
|
H A D | asan_rtems.cc | 126 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/hwasan/ |
H A D | hwasan_thread.cpp | 42 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 D | hwasan_thread.h | 45 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 D | hwasan_linux.cpp | 403 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, &tls_begin_, in InitStackAndTls() 405 stack_top_ = stack_bottom_ + stack_size; in InitStackAndTls()
|
H A D | hwasan_fuchsia.cpp | 106 stack_bottom_ = state->stack_bottom; in InitStackAndTls()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_thread.cc | 155 *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 D | asan_thread.h | 152 uptr stack_bottom_; variable
|
H A D | asan_fuchsia.cc | 120 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
|
H A D | asan_rtems.cc | 124 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_thread.cc | 155 *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 D | asan_thread.h | 152 uptr stack_bottom_; variable
|
H A D | asan_rtems.cc | 124 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
|
H A D | asan_fuchsia.cc | 120 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/msan/ |
H A D | msan_thread.cc | 25 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 D | msan_thread.h | 32 uptr stack_bottom() { return stack_bottom_; } in stack_bottom() 38 return addr >= stack_bottom_ && addr < stack_top_; in AddrIsInStack() 57 uptr stack_bottom_; variable
|