/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_stack_test.cc | 52 const uptr kShadowStackSize = 2 * kStackTraceMax; in TestTrim() 62 EXPECT_EQ(kStackTraceMax, trace->size); in TestTrim() 63 for (uptr i = 0; i < kStackTraceMax; i++) { in TestTrim() 64 EXPECT_EQ(100 + kStackTraceMax + i, trace->trace[i]); in TestTrim() 68 EXPECT_EQ(kStackTraceMax, trace->size); in TestTrim() 69 for (uptr i = 0; i < kStackTraceMax - 1; i++) { in TestTrim() 70 EXPECT_EQ(101 + kStackTraceMax + i, trace->trace[i]); in TestTrim() 72 EXPECT_EQ(42U, trace->trace[kStackTraceMax - 1]); in TestTrim()
|
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_stack_test.cpp | 51 const uptr kShadowStackSize = 2 * kStackTraceMax; in TestTrim() 61 EXPECT_EQ(kStackTraceMax, trace->size); in TestTrim() 62 for (uptr i = 0; i < kStackTraceMax; i++) { in TestTrim() 63 EXPECT_EQ(100 + kStackTraceMax + i, trace->trace[i]); in TestTrim() 67 EXPECT_EQ(kStackTraceMax, trace->size); in TestTrim() 68 for (uptr i = 0; i < kStackTraceMax - 1; i++) { in TestTrim() 69 EXPECT_EQ(101 + kStackTraceMax + i, trace->trace[i]); in TestTrim() 71 EXPECT_EQ(42U, trace->trace[kStackTraceMax - 1]); in TestTrim()
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.h | 87 GetStackTraceWithPcBpAndContext(&stack, kStackTraceMax, pc, bp, 0, \ 92 GetStackTraceWithPcBpAndContext(&stack, kStackTraceMax, \ 97 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal) 100 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check) 103 GET_STACK_TRACE(kStackTraceMax, true)
|
D | asan_flags.cc | 140 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
|
D | asan_debugging.cc | 101 size = Min(size, Min(stack.size, kStackTraceMax)); in AsanGetStack()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_stack.h | 51 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal) 54 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check) 56 #define GET_STACK_TRACE_THREAD GET_STACK_TRACE(kStackTraceMax, true)
|
D | memprof_flags.cpp | 86 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_stack.h | 55 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal) 58 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check) 61 GET_STACK_TRACE(kStackTraceMax, true)
|
D | asan_debugging.cpp | 66 size = Min(size, Min(stack.size, kStackTraceMax)); in AsanGetStack()
|
D | asan_flags.cpp | 151 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stacktrace_test.cc | 75 if (!TryFastUnwind(kStackTraceMax)) in TEST_F() 89 if (!TryFastUnwind(kStackTraceMax)) in TEST_F() 102 if (!TryFastUnwind(kStackTraceMax)) in TEST_F() 142 if (!TryFastUnwind(kStackTraceMax)) in TEST_F()
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan.h | 29 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal) 35 #define GET_STACK_TRACE_THREAD GET_STACK_TRACE(kStackTraceMax, true)
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_unwind_linux_libcdep.cc | 124 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack() 150 InternalScopedBuffer<backtrace_frame_t> frames(kStackTraceMax); in SlowUnwindStackWithContext() 157 CHECK_LE((uptr)res, kStackTraceMax); in SlowUnwindStackWithContext()
|
D | sanitizer_stacktrace.h | 20 static const u32 kStackTraceMax = 256; variable 91 uptr trace_buffer[kStackTraceMax];
|
D | sanitizer_stacktrace.cc | 36 CHECK_LE(size, kStackTraceMax); in Init()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_unwind_linux_libcdep.cpp | 129 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow() 161 InternalMmapVector<backtrace_frame_t> frames(kStackTraceMax); in UnwindSlow() 168 CHECK_LE((uptr)res, kStackTraceMax); in UnwindSlow()
|
D | sanitizer_stacktrace.h | 22 static const u32 kStackTraceMax = 256; variable 102 uptr trace_buffer[kStackTraceMax]; 113 u32 max_depth = kStackTraceMax) {
|
D | sanitizer_unwind_win.cpp | 32 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax), in UnwindSlow() 73 size < Min(max_depth, kStackTraceMax)) { in UnwindSlow()
|
D | sanitizer_symbolizer_report.cpp | 109 stack->Unwind(kStackTraceMax, pc, bp, nullptr, top, bottom, true); in ReportMmapWriteExec() 111 stack->Unwind(kStackTraceMax, pc, 0, nullptr, 0, 0, false); in ReportMmapWriteExec()
|
D | sanitizer_symbolizer_markup.cpp | 128 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
|
D | sanitizer_stacktrace.cpp | 59 CHECK_LE(size, kStackTraceMax); in Init()
|
/external/gwp_asan/gwp_asan/optional/ |
D | backtrace_sanitizer_common.cpp | 45 if (Size > __sanitizer::kStackTraceMax) in BacktraceCommon() 46 Size = __sanitizer::kStackTraceMax; in BacktraceCommon()
|
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
D | backtrace_sanitizer_common.cpp | 45 if (Size > __sanitizer::kStackTraceMax) in BacktraceCommon() 46 Size = __sanitizer::kStackTraceMax; in BacktraceCommon()
|
/external/compiler-rt/lib/lsan/ |
D | lsan.h | 35 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_signals_standalone.cpp | 48 ubsan_GetStackTrace(stack, kStackTraceMax, in OnStackUnwind()
|