Searched refs:suppression_ctx (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_suppressions.cpp | 24 static SuppressionContext *suppression_ctx = nullptr; variable 38 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions() 39 suppression_ctx = new (suppression_placeholder) in InitializeSuppressions() 41 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions() 43 suppression_ctx->Parse(__asan_default_suppressions()); in InitializeSuppressions() 47 CHECK(suppression_ctx); in IsInterceptorSuppressed() 50 return suppression_ctx->Match(interceptor_name, kInterceptorName, &s); in IsInterceptorSuppressed() 54 CHECK(suppression_ctx); in HaveStackTraceBasedSuppressions() 55 return suppression_ctx->HasSuppressionType(kInterceptorViaFunction) || in HaveStackTraceBasedSuppressions() 56 suppression_ctx->HasSuppressionType(kInterceptorViaLibrary); in HaveStackTraceBasedSuppressions() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_suppressions.cc | 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() [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_suppressions.cpp | 45 static SuppressionContext *suppression_ctx = nullptr; variable 52 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions() 53 suppression_ctx = new (suppression_placeholder) in InitializeSuppressions() 55 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions() 57 suppression_ctx->Parse(__tsan_default_suppressions()); in InitializeSuppressions() 58 suppression_ctx->Parse(std_suppressions); in InitializeSuppressions() 63 CHECK(suppression_ctx); in Suppressions() 64 return suppression_ctx; in Suppressions() 96 if (suppression_ctx->Match(info.function, stype, sp) || in IsSuppressed() 97 suppression_ctx->Match(info.file, stype, sp) || in IsSuppressed() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_suppressions.cc | 46 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/ |
D | ubsan_diag.cc | 381 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/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_diag.cpp | 396 static SuppressionContext *suppression_ctx = nullptr; variable 406 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions() 407 suppression_ctx = new (suppression_placeholder) in InitializeSuppressions() 409 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions() 414 CHECK(suppression_ctx); in IsVptrCheckSuppressed() 416 return suppression_ctx->Match(TypeName, kVptrCheck, &s); in IsVptrCheckSuppressed() 421 CHECK(suppression_ctx); in IsPCSuppressed() 425 if (!suppression_ctx->HasSuppressionType(SuppType)) in IsPCSuppressed() 429 if (Filename != nullptr && suppression_ctx->Match(Filename, SuppType, &s)) in IsPCSuppressed() 433 if (suppression_ctx->Match(Module, SuppType, &s)) in IsPCSuppressed() [all …]
|
/external/compiler-rt/lib/lsan/ |
D | lsan_common.cc | 72 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()
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_common.cpp | 69 static SuppressionContext *suppression_ctx = nullptr; variable 87 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions() 88 suppression_ctx = new (suppression_placeholder) in InitializeSuppressions() 90 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions() 92 suppression_ctx->Parse(__lsan_default_suppressions()); in InitializeSuppressions() 93 suppression_ctx->Parse(kStdSuppressions); in InitializeSuppressions() 97 CHECK(suppression_ctx); in GetSuppressionContext() 98 return suppression_ctx; in GetSuppressionContext()
|