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()
103 if (suppression_ctx->Match(info.function, stype, sp) || in IsSuppressed()
104 suppression_ctx->Match(info.file, stype, sp) || in IsSuppressed()
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc381 static SuppressionContext *suppression_ctx = nullptr; variable
391 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions()
392 suppression_ctx = new (suppression_placeholder) // NOLINT in InitializeSuppressions()
394 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions()
399 CHECK(suppression_ctx); in IsVptrCheckSuppressed()
401 return suppression_ctx->Match(TypeName, kVptrCheck, &s); in IsVptrCheckSuppressed()
406 CHECK(suppression_ctx); in IsPCSuppressed()
410 if (!suppression_ctx->HasSuppressionType(SuppType)) in IsPCSuppressed()
414 if (Filename != nullptr && suppression_ctx->Match(Filename, SuppType, &s)) in IsPCSuppressed()
418 if (suppression_ctx->Match(Module, SuppType, &s)) in IsPCSuppressed()
[all …]
/external/compiler-rt/lib/lsan/
Dlsan_common.cc72 static SuppressionContext *suppression_ctx = nullptr; variable
77 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions()
78 suppression_ctx = new (suppression_placeholder) // NOLINT in InitializeSuppressions()
80 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions()
82 suppression_ctx->Parse(__lsan_default_suppressions()); in InitializeSuppressions()
86 CHECK(suppression_ctx); in GetSuppressionContext()
87 return suppression_ctx; in GetSuppressionContext()