/src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
asan_fake_stack_test.cc | 47 for (uptr stack_size_log = 15; stack_size_log <= 20; stack_size_log++) { local in function:__asan::TEST 48 uptr stack_size = 1UL << stack_size_log; 54 EXPECT_EQ(offset, FakeStack::FlagsOffset(stack_size_log, class_id)); 55 // printf("%zd: %zd => %zd %zd\n", stack_size_log, class_id, offset, 56 // FakeStack::FlagsOffset(stack_size_log, class_id)); 65 for (uptr stack_size_log = 20; stack_size_log <= 22; stack_size_log++) local in function:__asan::TEST 94 const uptr stack_size_log = 20; local in function:__asan::TEST 107 const uptr stack_size_log = 19; local in function:__asan::TEST 146 const uptr stack_size_log = 16; local in function:__asan::TEST [all...] |
asan_fake_stack_test.cc | 47 for (uptr stack_size_log = 15; stack_size_log <= 20; stack_size_log++) { local in function:__asan::TEST 48 uptr stack_size = 1UL << stack_size_log; 54 EXPECT_EQ(offset, FakeStack::FlagsOffset(stack_size_log, class_id)); 55 // printf("%zd: %zd => %zd %zd\n", stack_size_log, class_id, offset, 56 // FakeStack::FlagsOffset(stack_size_log, class_id)); 65 for (uptr stack_size_log = 20; stack_size_log <= 22; stack_size_log++) local in function:__asan::TEST 94 const uptr stack_size_log = 20; local in function:__asan::TEST 107 const uptr stack_size_log = 19; local in function:__asan::TEST 146 const uptr stack_size_log = 16; local in function:__asan::TEST [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_fake_stack.h | 41 // we store it as its logarithm (stack_size_log). 51 // any memory accesses solely based on 'this' and stack_size_log. 66 static FakeStack *Create(uptr stack_size_log); 70 // stack_size_log is at least 15 (stack_size >= 32K). 71 static uptr SizeRequiredForFlags(uptr stack_size_log) { 72 return ((uptr)1) << (stack_size_log + 1 - kMinStackFrameSizeLog); 76 static uptr SizeRequiredForFrames(uptr stack_size_log) { 77 return (((uptr)1) << stack_size_log) * kNumberOfSizeClasses; 81 static uptr RequiredSize(uptr stack_size_log) { 82 return kFlagsOffset + SizeRequiredForFlags(stack_size_log) 151 uptr stack_size_log() const { return stack_size_log_; } function in class:__asan::FakeStack [all...] |
asan_fake_stack.h | 41 // we store it as its logarithm (stack_size_log). 51 // any memory accesses solely based on 'this' and stack_size_log. 66 static FakeStack *Create(uptr stack_size_log); 70 // stack_size_log is at least 15 (stack_size >= 32K). 71 static uptr SizeRequiredForFlags(uptr stack_size_log) { 72 return ((uptr)1) << (stack_size_log + 1 - kMinStackFrameSizeLog); 76 static uptr SizeRequiredForFrames(uptr stack_size_log) { 77 return (((uptr)1) << stack_size_log) * kNumberOfSizeClasses; 81 static uptr RequiredSize(uptr stack_size_log) { 82 return kFlagsOffset + SizeRequiredForFlags(stack_size_log) 151 uptr stack_size_log() const { return stack_size_log_; } function in class:__asan::FakeStack [all...] |
asan_fake_stack.cc | 45 FakeStack *FakeStack::Create(uptr stack_size_log) { 48 if (stack_size_log < kMinStackSizeLog) 49 stack_size_log = kMinStackSizeLog; 50 if (stack_size_log > kMaxStackSizeLog) 51 stack_size_log = kMaxStackSizeLog; 52 uptr size = RequiredSize(stack_size_log); 56 res->stack_size_log_ = stack_size_log; 58 VReport(1, "T%d: FakeStack created: %p -- %p stack_size_log: %zd; " 61 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, 117 uptr stack_size_log = this->stack_size_log(); local in function:__asan::FakeStack::AddrIsInFakeStack [all...] |
asan_fake_stack.cc | 45 FakeStack *FakeStack::Create(uptr stack_size_log) { 48 if (stack_size_log < kMinStackSizeLog) 49 stack_size_log = kMinStackSizeLog; 50 if (stack_size_log > kMaxStackSizeLog) 51 stack_size_log = kMaxStackSizeLog; 52 uptr size = RequiredSize(stack_size_log); 56 res->stack_size_log_ = stack_size_log; 58 VReport(1, "T%d: FakeStack created: %p -- %p stack_size_log: %zd; " 61 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, 117 uptr stack_size_log = this->stack_size_log(); local in function:__asan::FakeStack::AddrIsInFakeStack [all...] |
asan_thread.cc | 208 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); local in function:__asan::AsanThread::AsyncSignalSafeLazyInitFakeStack 210 stack_size_log = 211 Min(stack_size_log, static_cast<uptr>(flags()->max_uar_stack_size_log)); 212 stack_size_log = 213 Max(stack_size_log, static_cast<uptr>(flags()->min_uar_stack_size_log)); 214 fake_stack_ = FakeStack::Create(stack_size_log);
|
asan_thread.cc | 208 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); local in function:__asan::AsanThread::AsyncSignalSafeLazyInitFakeStack 210 stack_size_log = 211 Min(stack_size_log, static_cast<uptr>(flags()->max_uar_stack_size_log)); 212 stack_size_log = 213 Max(stack_size_log, static_cast<uptr>(flags()->min_uar_stack_size_log)); 214 fake_stack_ = FakeStack::Create(stack_size_log);
|