Home
last modified time | relevance | path

Searched refs:suppression_ctx (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_suppressions.cc25 static SuppressionContext *suppression_ctx = nullptr; variable
45 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions()
46 suppression_ctx = new (suppression_placeholder) // NOLINT in InitializeSuppressions()
48 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions()
50 suppression_ctx->Parse(__asan_default_suppressions()); in InitializeSuppressions()
54 CHECK(suppression_ctx); in IsInterceptorSuppressed()
57 return suppression_ctx->Match(interceptor_name, kInterceptorName, &s); in IsInterceptorSuppressed()
61 CHECK(suppression_ctx); in HaveStackTraceBasedSuppressions()
62 return suppression_ctx->HasSuppressionType(kInterceptorViaFunction) || in HaveStackTraceBasedSuppressions()
63 suppression_ctx->HasSuppressionType(kInterceptorViaLibrary); in HaveStackTraceBasedSuppressions()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_suppressions.cc46 static SuppressionContext *suppression_ctx = nullptr; variable
53 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions()
54 suppression_ctx = new (suppression_placeholder) // NOLINT in InitializeSuppressions()
56 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions()
58 suppression_ctx->Parse(__tsan_default_suppressions()); in InitializeSuppressions()
59 suppression_ctx->Parse(std_suppressions); in InitializeSuppressions()
64 CHECK(suppression_ctx); in Suppressions()
65 return suppression_ctx; in Suppressions()
101 if (suppression_ctx->Match(info.function, stype, sp) || in IsSuppressed()
102 suppression_ctx->Match(info.file, stype, sp) || in IsSuppressed()
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc384 static SuppressionContext *suppression_ctx = nullptr; variable
394 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions()
395 suppression_ctx = new (suppression_placeholder) // NOLINT in InitializeSuppressions()
397 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions()
402 CHECK(suppression_ctx); in IsVptrCheckSuppressed()
404 return suppression_ctx->Match(TypeName, kVptrCheck, &s); in IsVptrCheckSuppressed()
409 CHECK(suppression_ctx); in IsPCSuppressed()
413 if (!suppression_ctx->HasSuppressionType(SuppType)) in IsPCSuppressed()
417 if (Filename != nullptr && suppression_ctx->Match(Filename, SuppType, &s)) in IsPCSuppressed()
421 if (suppression_ctx->Match(Module, SuppType, &s)) in IsPCSuppressed()
[all …]
/external/compiler-rt/lib/lsan/
Dlsan_common.cc63 static SuppressionContext *suppression_ctx = nullptr; variable
68 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions()
69 suppression_ctx = new (suppression_placeholder) // NOLINT in InitializeSuppressions()
71 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions()
73 suppression_ctx->Parse(__lsan_default_suppressions()); in InitializeSuppressions()
77 CHECK(suppression_ctx); in GetSuppressionContext()
78 return suppression_ctx; in GetSuppressionContext()