| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/ |
| D | Features.def | 41 LangOpts.Sanitize.hasOneOf(SanitizerKind::Address | 44 LangOpts.Sanitize.has(SanitizerKind::Leak)) 46 LangOpts.Sanitize.hasOneOf(SanitizerKind::HWAddress | 48 FEATURE(memtag_sanitizer, LangOpts.Sanitize.has(SanitizerKind::MemTag)) 51 LangOpts.Sanitize.hasOneOf(SanitizerKind::Undefined)) 91 LangOpts.Sanitize.hasOneOf(SanitizerKind::Memory | 93 FEATURE(thread_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Thread)) 94 FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow)) 95 FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo)) 226 FEATURE(safe_stack, LangOpts.Sanitize.has(SanitizerKind::SafeStack)) [all …]
|
| D | LangOptions.h | 294 SanitizerSet Sanitize; variable
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | SanitizerMetadata.cpp | 35 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize)) in reportGlobalToASan() 66 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize)) in reportGlobalToASan() 83 if (isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize)) in disableSanitizerForGlobal()
|
| D | CGDeclCXX.cpp | 442 if (getLangOpts().Sanitize.has(SanitizerKind::Address) && in CreateGlobalInitOrCleanUpFunction() 446 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) && in CreateGlobalInitOrCleanUpFunction() 450 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) && in CreateGlobalInitOrCleanUpFunction() 454 if (getLangOpts().Sanitize.has(SanitizerKind::KernelHWAddress) && in CreateGlobalInitOrCleanUpFunction() 458 if (getLangOpts().Sanitize.has(SanitizerKind::MemTag) && in CreateGlobalInitOrCleanUpFunction() 462 if (getLangOpts().Sanitize.has(SanitizerKind::Thread) && in CreateGlobalInitOrCleanUpFunction() 466 if (getLangOpts().Sanitize.has(SanitizerKind::Memory) && in CreateGlobalInitOrCleanUpFunction() 470 if (getLangOpts().Sanitize.has(SanitizerKind::KernelMemory) && in CreateGlobalInitOrCleanUpFunction() 474 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack) && in CreateGlobalInitOrCleanUpFunction() 478 if (getLangOpts().Sanitize.has(SanitizerKind::ShadowCallStack) && in CreateGlobalInitOrCleanUpFunction()
|
| D | BackendUtil.cpp | 731 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds)) { in CreatePasses() 745 if (LangOpts.Sanitize.has(SanitizerKind::Address)) { in CreatePasses() 752 if (LangOpts.Sanitize.has(SanitizerKind::KernelAddress)) { in CreatePasses() 759 if (LangOpts.Sanitize.has(SanitizerKind::HWAddress)) { in CreatePasses() 766 if (LangOpts.Sanitize.has(SanitizerKind::KernelHWAddress)) { in CreatePasses() 773 if (LangOpts.Sanitize.has(SanitizerKind::Memory)) { in CreatePasses() 780 if (LangOpts.Sanitize.has(SanitizerKind::KernelMemory)) { in CreatePasses() 787 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) { in CreatePasses() 794 if (LangOpts.Sanitize.has(SanitizerKind::DataFlow)) { in CreatePasses() 1116 if (LangOpts.Sanitize.has(Mask)) { in addSanitizers() [all …]
|
| D | CodeGenModule.cpp | 149 if (LangOpts.Sanitize.has(SanitizerKind::Thread) || in CodeGenModule() 529 if (LangOpts.Sanitize.has(SanitizerKind::Address) && getTriple().isAMDGPU()) { in Release() 664 if (LangOpts.Sanitize.has(SanitizerKind::CFIICall)) { in Release() 2077 if (!LangOpts.Sanitize.has(SanitizerKind::CFIICall)) in CreateFunctionTypeMetadataForIcall() 2621 LangOpts.Sanitize.Mask & in isInNoSanitizeList() 6306 return ((LangOpts.Sanitize.has(SanitizerKind::CFIVCall) && in NeedAllVtablesTypeId() 6308 (LangOpts.Sanitize.has(SanitizerKind::CFINVCall) && in NeedAllVtablesTypeId() 6310 (LangOpts.Sanitize.has(SanitizerKind::CFIDerivedCast) && in NeedAllVtablesTypeId() 6312 (LangOpts.Sanitize.has(SanitizerKind::CFIUnrelatedCast) && in NeedAllVtablesTypeId()
|
| D | CodeGenFunction.cpp | 60 LangOpts.Sanitize.has(SanitizerKind::HWAddress) || in shouldEmitLifetimeMarkers() 61 LangOpts.Sanitize.has(SanitizerKind::Memory)) in shouldEmitLifetimeMarkers() 72 SanOpts(CGM.getLangOpts().Sanitize), CurFPFeatures(CGM.getLangOpts()), in CodeGenFunction()
|
| D | ItaniumCXXABI.cpp | 2227 if (CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) && AS == 0 && in InitializeArrayCookie() 2256 if (!CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) || AS != 0) in readArrayCookieImpl()
|
| D | CGCall.cpp | 2253 getLangOpts().Sanitize.has(SanitizerKind::Memory) || in ConstructAttributeList() 2254 getLangOpts().Sanitize.has(SanitizerKind::Return); in ConstructAttributeList()
|
| D | CGExpr.cpp | 3408 SanOpts = CGM.getLangOpts().Sanitize; in EmitCfiCheckFail() 3455 if (CGM.getLangOpts().Sanitize.has(Mask)) in EmitCfiCheckFail()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/Targets/ |
| D | OSTargets.cpp | 31 if (Opts.Sanitize.has(SanitizerKind::Address)) in getDarwinDefines()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| D | Darwin.cpp | 1308 const SanitizerArgs &Sanitize = getSanitizerArgs(); in AddLinkRuntimeLibArgs() local 1309 if (Sanitize.needsAsanRt()) in AddLinkRuntimeLibArgs() 1311 if (Sanitize.needsLsanRt()) in AddLinkRuntimeLibArgs() 1313 if (Sanitize.needsUbsanRt()) in AddLinkRuntimeLibArgs() 1315 Sanitize.requiresMinimalRuntime() ? "ubsan_minimal" in AddLinkRuntimeLibArgs() 1317 Sanitize.needsSharedRt()); in AddLinkRuntimeLibArgs() 1318 if (Sanitize.needsTsanRt()) in AddLinkRuntimeLibArgs() 1320 if (Sanitize.needsFuzzer() && !Args.hasArg(options::OPT_dynamiclib)) { in AddLinkRuntimeLibArgs() 1326 if (Sanitize.needsStatsRt()) { in AddLinkRuntimeLibArgs()
|
| D | MinGW.cpp | 101 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(); in ConstructJob() local 274 if (Sanitize.needsAsanRt()) { in ConstructJob()
|
| D | Clang.cpp | 5777 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(); in ConstructJob() local 5778 Sanitize.addArgs(TC, Args, CmdArgs, InputType); in ConstructJob() 6709 (WholeProgramVTables || Sanitize.needsLTO()) && in ConstructJob() 6714 if (Sanitize.needsLTO() && !SplitLTOUnit) in ConstructJob()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/ |
| D | CompilerInvocation.cpp | 3304 for (StringRef Sanitizer : serializeSanitizerKinds(Opts.Sanitize)) in GenerateLangArgs() 3490 for (StringRef Sanitizer : serializeSanitizerKinds(Opts.Sanitize)) in GenerateLangArgs() 3554 Diags, Opts.Sanitize); in ParseLangArgs() 3947 Diags, Opts.Sanitize); in ParseLangArgs() 4412 !LangOpts.Sanitize.has(SanitizerKind::Address) && in CreateFromArgsImpl() 4413 !LangOpts.Sanitize.has(SanitizerKind::KernelAddress) && in CreateFromArgsImpl() 4414 !LangOpts.Sanitize.has(SanitizerKind::Memory) && in CreateFromArgsImpl() 4415 !LangOpts.Sanitize.has(SanitizerKind::KernelMemory); in CreateFromArgsImpl() 4432 !Res.getLangOpts()->Sanitize.empty()) { in CreateFromArgsImpl() 4567 SanitizerSet SanHash = LangOpts->Sanitize; in getModuleHash()
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_flags.inc | 164 "Sanitize complete address space; "
|
| /freebsd-12-stable/usr.sbin/bsdconfig/share/ |
| D | dialog.subr | 1789 # Sanitize the line before storing it if desired 1878 # Sanitize the menutag before storing it if desired 1916 # Sanitize the menuitem before storing it if desired 1955 # Sanitize the defaulitem before storing it if desired
|
| /freebsd-12-stable/usr.sbin/bsdconfig/share/media/ |
| D | wlan.subr | 241 gsub(/'\''/, "'\''\\'\'\''", value) # Sanitize the value 324 gsub(/'\''/, "'\''\\'\'\''", value) # Sanitize the value
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | Decl.cpp | 4620 const SanitizerMask EnabledAsanMask = Context.getLangOpts().Sanitize.Mask & in mayInsertExtraPadding()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/ |
| D | ASTReader.cpp | 345 SanitizerSet ExistingSanitizers = ExistingLangOpts.Sanitize; in checkLanguageOptions() 346 SanitizerSet ImportedSanitizers = LangOpts.Sanitize; in checkLanguageOptions() 5769 LangOpts.Sanitize.set(SanitizerKind::ID, Record[Idx++]); in ParseLanguageOptions()
|
| D | ASTWriter.cpp | 1242 Record.push_back(LangOpts.Sanitize.has(SanitizerKind::ID)); in WriteControlBlock()
|