Home
last modified time | relevance | path

Searched refs:kStackTraceMax (Results 1 – 25 of 33) sorted by relevance

12

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_stack_test.cc52 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/
Dtsan_stack_test.cpp51 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/
Dasan_stack.h87 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)
Dasan_flags.cc140 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
Dasan_debugging.cc101 size = Min(size, Min(stack.size, kStackTraceMax)); in AsanGetStack()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_stack.h51 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)
Dmemprof_flags.cpp86 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_stack.h55 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)
Dasan_debugging.cpp66 size = Min(size, Min(stack.size, kStackTraceMax)); in AsanGetStack()
Dasan_flags.cpp151 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc75 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/
Dlsan.h29 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/
Dsanitizer_unwind_linux_libcdep.cc124 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()
Dsanitizer_stacktrace.h20 static const u32 kStackTraceMax = 256; variable
91 uptr trace_buffer[kStackTraceMax];
Dsanitizer_stacktrace.cc36 CHECK_LE(size, kStackTraceMax); in Init()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_unwind_linux_libcdep.cpp129 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()
Dsanitizer_stacktrace.h22 static const u32 kStackTraceMax = 256; variable
102 uptr trace_buffer[kStackTraceMax];
113 u32 max_depth = kStackTraceMax) {
Dsanitizer_unwind_win.cpp32 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax), in UnwindSlow()
73 size < Min(max_depth, kStackTraceMax)) { in UnwindSlow()
Dsanitizer_symbolizer_report.cpp109 stack->Unwind(kStackTraceMax, pc, bp, nullptr, top, bottom, true); in ReportMmapWriteExec()
111 stack->Unwind(kStackTraceMax, pc, 0, nullptr, 0, 0, false); in ReportMmapWriteExec()
Dsanitizer_symbolizer_markup.cpp128 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
Dsanitizer_stacktrace.cpp59 CHECK_LE(size, kStackTraceMax); in Init()
/external/gwp_asan/gwp_asan/optional/
Dbacktrace_sanitizer_common.cpp45 if (Size > __sanitizer::kStackTraceMax) in BacktraceCommon()
46 Size = __sanitizer::kStackTraceMax; in BacktraceCommon()
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/
Dbacktrace_sanitizer_common.cpp45 if (Size > __sanitizer::kStackTraceMax) in BacktraceCommon()
46 Size = __sanitizer::kStackTraceMax; in BacktraceCommon()
/external/compiler-rt/lib/lsan/
Dlsan.h35 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_signals_standalone.cpp48 ubsan_GetStackTrace(stack, kStackTraceMax, in OnStackUnwind()

12