Searched refs:FakeStack (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_fake_stack.cpp | 45 uptr redzone_size = FakeStack::BytesInSizeClass(class_id) - size; in SetShadow() 50 FakeStack *FakeStack::Create(uptr stack_size_log) { in Create() 58 FakeStack *res = reinterpret_cast<FakeStack *>( in Create() 67 (void *)(p + FakeStack::RequiredSize(stack_size_log)), stack_size_log, in Create() 72 void FakeStack::Destroy(int tid) { in Destroy() 86 void FakeStack::PoisonAll(u8 magic) { in PoisonAll() 94 FakeFrame *FakeStack::Allocate(uptr stack_size_log, uptr class_id, in Allocate() 122 uptr FakeStack::AddrIsInFakeStack(uptr ptr, uptr *frame_beg, uptr *frame_end) { in AddrIsInFakeStack() 138 void FakeStack::HandleNoReturn() { in HandleNoReturn() 154 NOINLINE void FakeStack::GC(uptr real_stack) { in GC() [all …]
|
| H A D | asan_thread.h | 105 FakeStack *t = fake_stack_; in DeleteFakeStack() 111 void StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom, uptr size); 112 void FinishSwitchFiber(FakeStack *fake_stack_save, uptr *bottom_old, 115 FakeStack *get_fake_stack() { in get_fake_stack() 123 FakeStack *get_or_create_fake_stack() { in get_or_create_fake_stack() 157 FakeStack *AsyncSignalSafeLazyInitFakeStack(); 181 FakeStack *fake_stack_;
|
| H A D | asan_fake_stack.h | 56 class FakeStack { 65 static FakeStack *Create(uptr stack_size_log); 158 FakeStack() { } in FakeStack() function 170 FakeStack *GetTLSFakeStack(); 171 void SetTLSFakeStack(FakeStack *fs);
|
| H A D | asan_thread.cpp | 151 void AsanThread::StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom, in StartSwitchFiber() 162 FakeStack *current_fake_stack = fake_stack_; in StartSwitchFiber() 172 void AsanThread::FinishSwitchFiber(FakeStack *fake_stack_save, uptr *bottom_old, in FinishSwitchFiber() 223 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() { in AsyncSignalSafeLazyInitFakeStack() 243 fake_stack_ = FakeStack::Create(stack_size_log); in AsyncSignalSafeLazyInitFakeStack() 339 } else if (FakeStack *fake_stack = get_fake_stack()) { in GetStackFrameAccessByAddr() 380 } else if (FakeStack *fake_stack = get_fake_stack()) { in GetStackVariableShadowStart() 415 FakeStack *fake_stack = t->get_fake_stack(); in ThreadStackContainsAddress() 524 __asan::FakeStack *fake_stack = t->get_fake_stack(); in GetThreadExtraStackRangesLocked() 579 t->StartSwitchFiber((FakeStack **)fakestacksave, (uptr)bottom, size); in __sanitizer_start_switch_fiber() [all …]
|
| H A D | asan_rtl.cpp | 636 FakeStack *stack = curr_thread->get_fake_stack(); in UnpoisonFakeStack()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 3568 Value *FakeStack; in processStaticAllocas() local 3596 FakeStack = createPHI(IRB, UseAfterReturnIsEnabled, FakeStackValue, Term, in processStaticAllocas() 3604 FakeStack = in processStaticAllocas() 3609 IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy)); in processStaticAllocas() 3617 LocalStackBase = createPHI(IRB, NoFakeStack, AllocaValue, Term, FakeStack); in processStaticAllocas() 3623 FakeStack = ConstantInt::get(IntptrTy, 0); in processStaticAllocas() 3719 IRBRet.CreateICmpNE(FakeStack, Constant::getNullValue(IntptrTy)); in processStaticAllocas() 3731 FakeStack, in processStaticAllocas() 3742 {FakeStack, ConstantInt::get(IntptrTy, LocalStackSize)}); in processStaticAllocas()
|