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 | 45 FakeStack *FakeStack::Create(uptr stack_size_log) { in Create() 53 FakeStack *res = reinterpret_cast<FakeStack *>( in Create() 61 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, in Create() 66 void FakeStack::Destroy(int tid) { in Destroy() 80 void FakeStack::PoisonAll(u8 magic) { in PoisonAll() 88 FakeFrame *FakeStack::Allocate(uptr stack_size_log, uptr class_id, in Allocate() 116 uptr FakeStack::AddrIsInFakeStack(uptr ptr, uptr *frame_beg, uptr *frame_end) { in AddrIsInFakeStack() 132 void FakeStack::HandleNoReturn() { in HandleNoReturn() 142 NOINLINE void FakeStack::GC(uptr real_stack) { in GC() 160 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 | 87 FakeStack *t = fake_stack_; in DeleteFakeStack() 97 FakeStack *fake_stack() { in fake_stack() 123 FakeStack *AsyncSignalSafeLazyInitFakeStack(); 136 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 | 1899 Value *FakeStack; in poisonStack() local 1923 FakeStack = createPHI(IRB, UARIsEnabled, FakeStackValue, Term, in poisonStack() 1927 IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy)); in poisonStack() 1935 LocalStackBase = createPHI(IRB, NoFakeStack, AllocaValue, Term, FakeStack); in poisonStack() 1939 FakeStack = ConstantInt::get(IntptrTy, 0); in poisonStack() 1999 IRBRet.CreateICmpNE(FakeStack, Constant::getNullValue(IntptrTy)); in poisonStack() 2009 FakeStack, in poisonStack() 2020 {FakeStack, ConstantInt::get(IntptrTy, LocalStackSize)}); in poisonStack()
|