Searched refs:FakeStack (Results 1 – 6 of 6) sorted by relevance
/external/compiler-rt/lib/asan/tests/ |
D | asan_fake_stack_test.cc | 28 TEST(FakeStack, FlagsSize) { in TEST() argument 29 EXPECT_EQ(FakeStack::SizeRequiredForFlags(10), 1U << 5); in TEST() 30 EXPECT_EQ(FakeStack::SizeRequiredForFlags(11), 1U << 6); in TEST() 31 EXPECT_EQ(FakeStack::SizeRequiredForFlags(20), 1U << 15); in TEST() 34 TEST(FakeStack, RequiredSize) { in TEST() argument 39 EXPECT_EQ(FakeStack::RequiredSize(15), 365568U); in TEST() 40 EXPECT_EQ(FakeStack::RequiredSize(16), 727040U); in TEST() 41 EXPECT_EQ(FakeStack::RequiredSize(17), 1449984U); in TEST() 42 EXPECT_EQ(FakeStack::RequiredSize(18), 2895872U); in TEST() 43 EXPECT_EQ(FakeStack::RequiredSize(19), 5787648U); in TEST() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_fake_stack.cc | 40 FakeStack *FakeStack::Create(uptr stack_size_log) { in Create() 48 FakeStack *res = reinterpret_cast<FakeStack *>( in Create() 56 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, in Create() 61 void FakeStack::Destroy(int tid) { in Destroy() 75 void FakeStack::PoisonAll(u8 magic) { in PoisonAll() 81 FakeFrame *FakeStack::Allocate(uptr stack_size_log, uptr class_id, in Allocate() 109 uptr FakeStack::AddrIsInFakeStack(uptr ptr, uptr *frame_beg, uptr *frame_end) { in AddrIsInFakeStack() 125 void FakeStack::HandleNoReturn() { in HandleNoReturn() 135 NOINLINE void FakeStack::GC(uptr real_stack) { in GC() 153 void FakeStack::ForEachFakeFrame(RangeIteratorCallback callback, void *arg) { in ForEachFakeFrame() [all …]
|
D | asan_fake_stack.h | 57 class FakeStack { 66 static FakeStack *Create(uptr stack_size_log); 158 FakeStack() { } in FakeStack() function 170 FakeStack *GetTLSFakeStack(); 171 void SetTLSFakeStack(FakeStack *fs);
|
D | asan_thread.h | 89 FakeStack *t = fake_stack_; in DeleteFakeStack() 99 FakeStack *fake_stack() { in fake_stack() 125 FakeStack *AsyncSignalSafeLazyInitFakeStack(); 138 FakeStack *fake_stack_;
|
D | asan_thread.cc | 125 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() { in AsyncSignalSafeLazyInitFakeStack() 145 fake_stack_ = FakeStack::Create(stack_size_log); in AsyncSignalSafeLazyInitFakeStack()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1767 Value *FakeStack; in poisonStack() local 1791 FakeStack = createPHI(IRB, UARIsEnabled, FakeStackValue, Term, in poisonStack() 1795 IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy)); in poisonStack() 1803 LocalStackBase = createPHI(IRB, NoFakeStack, AllocaValue, Term, FakeStack); in poisonStack() 1807 FakeStack = ConstantInt::get(IntptrTy, 0); in poisonStack() 1877 IRBRet.CreateICmpNE(FakeStack, Constant::getNullValue(IntptrTy)); in poisonStack() 1887 FakeStack, in poisonStack() 1896 IRBPoison.CreateCall2(AsanStackFreeFunc[StackMallocIdx], FakeStack, in poisonStack()
|