Home
last modified time | relevance | path

Searched refs:FakeStack (Results 1 – 5 of 5) sorted by relevance

/external/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cc28 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/
Dasan_fake_stack.cc38 FakeStack *FakeStack::Create(uptr stack_size_log) { in Create()
46 FakeStack *res = reinterpret_cast<FakeStack *>( in Create()
54 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, in Create()
59 void FakeStack::Destroy(int tid) { in Destroy()
73 void FakeStack::PoisonAll(u8 magic) { in PoisonAll()
79 FakeFrame *FakeStack::Allocate(uptr stack_size_log, uptr class_id, in Allocate()
107 uptr FakeStack::AddrIsInFakeStack(uptr ptr, uptr *frame_beg, uptr *frame_end) { in AddrIsInFakeStack()
123 void FakeStack::HandleNoReturn() { in HandleNoReturn()
133 NOINLINE void FakeStack::GC(uptr real_stack) { in GC()
151 void FakeStack::ForEachFakeFrame(RangeIteratorCallback callback, void *arg) { in ForEachFakeFrame()
[all …]
Dasan_fake_stack.h57 class FakeStack {
66 static FakeStack *Create(uptr stack_size_log);
158 FakeStack() { } in FakeStack() function
170 FakeStack *GetTLSFakeStack();
171 void SetTLSFakeStack(FakeStack *fs);
Dasan_thread.h82 FakeStack *t = fake_stack_; in DeleteFakeStack()
92 FakeStack *fake_stack() { in fake_stack()
114 FakeStack *AsyncSignalSafeLazyInitFakeStack();
127 FakeStack *fake_stack_;
Dasan_thread.cc116 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() { in AsyncSignalSafeLazyInitFakeStack()
136 fake_stack_ = FakeStack::Create(stack_size_log); in AsyncSignalSafeLazyInitFakeStack()