Searched refs:AsanThread (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_thread.cpp | 98 AsanThread *AsanThread::Create(const void *start_data, uptr data_size, in Create() 102 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create() 103 AsanThread *thread = (AsanThread *)MmapOrDie(size, __func__); in Create() 115 void AsanThread::GetStartData(void *out, uptr out_size) const { in GetStartData() 119 void AsanThread::TSDDtor(void *tsd) { in TSDDtor() 126 void AsanThread::Destroy() { in Destroy() 133 if (AsanThread *thread = GetCurrentThread()) in Destroy() 147 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy() 153 void AsanThread::StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom, in StartSwitchFiber() 174 void AsanThread::FinishSwitchFiber(FakeStack *fake_stack_save, uptr *bottom_old, in FinishSwitchFiber() [all …]
|
H A D | asan_fuchsia.cpp | 69 AsanThread *curr_thread = GetCurrentThread(); in PlatformUnpoisonStacks() 111 return RoundUpTo(sizeof(AsanThread), _zx_system_get_page_size()); in AsanThreadMmapSize() 114 struct AsanThread::InitOptions { 119 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid, in CreateAsanThread() 122 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() 136 void AsanThread::SetThreadStackAndTls(const AsanThread::InitOptions *options) { in SetThreadStackAndTls() 146 AsanThread *CreateMainThread() { in CreateMainThread() 151 AsanThread *t = CreateAsanThread( in CreateMainThread() 162 const AsanThread::InitOptions options = {__sanitizer::MainThreadStackBase, in CreateMainThread() 182 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); in BeforeThreadCreateHook() [all …]
|
H A D | asan_win.cpp | 140 AsanThread *t = (AsanThread *)arg; in asan_thread_start() 164 AsanThread *t = AsanThread::Create(params, current_tid, &stack, detached); in INTERCEPTOR_WINAPI() 265 void PlatformTSDDtor(void *tsd) { AsanThread::TSDDtor(tsd); } in PlatformTSDDtor()
|
H A D | asan_internal.h | 59 class AsanThread; variable 97 AsanThread *CreateMainThread();
|
H A D | asan_rtl.cpp | 485 AsanThread *main_thread = CreateMainThread(); in AsanInitInternal() 575 if (AsanThread *curr_thread = GetCurrentThread()) { in UnpoisonDefaultStack() 593 AsanThread *curr_thread = GetCurrentThread(); in UnpoisonFakeStack() 618 AsanThread *t = GetCurrentThread(); in __asan_extra_spill_area() 624 AsanThread *t = GetCurrentThread(); in __asan_handle_vfork()
|
H A D | asan_interceptors.cpp | 69 AsanThread *t = GetCurrentThread(); in SetThreadName() 145 if (AsanThread *t = GetCurrentThread()) { \ 226 AsanThread *t = (AsanThread *)arg; in asan_thread_start() 265 AsanThread *t = AsanThread::Create(sigset, current_tid, &stack, detached); in INTERCEPTOR()
|
H A D | asan_mac.cpp | 153 AsanThread *t = GetCurrentThread(); in asan_register_worker_thread() 155 t = AsanThread::Create(parent_tid, stack, /* detached */ true); in asan_register_worker_thread()
|
H A D | asan_descriptions.h | 25 static inline void DescribeThread(AsanThread *t) { in DescribeThread()
|
H A D | asan_descriptions.cpp | 195 AsanThread *t = FindThreadByStackAddress(addr); in GetStackAddressInformation() 201 AsanThread::StackFrameAccess access; in GetStackAddressInformation()
|
H A D | asan_allocator.cpp | 522 AsanThread *t = GetCurrentThread(); in UpdateAllocationStack() 578 AsanThread *t = GetCurrentThread(); in Allocate() 686 AsanThread *t = GetCurrentThread(); in QuarantineChunk() 876 AsanThread *t = GetCurrentThread(); in Purge()
|
H A D | asan_report.cpp | 399 AsanThread *t = GetCurrentThread(); in IsInvalidPointerPair()
|