Lines Matching refs:suppression_ctx
25 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()
67 CHECK(suppression_ctx); in IsODRViolationSuppressed()
70 return suppression_ctx->Match(global_var_name, kODRViolation, &s); in IsODRViolationSuppressed()
77 CHECK(suppression_ctx); in IsStackTraceSuppressed()
83 if (suppression_ctx->HasSuppressionType(kInterceptorViaLibrary)) { in IsStackTraceSuppressed()
86 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) in IsStackTraceSuppressed()
90 if (suppression_ctx->HasSuppressionType(kInterceptorViaFunction)) { in IsStackTraceSuppressed()
99 if (suppression_ctx->Match(function_name, kInterceptorViaFunction, in IsStackTraceSuppressed()