| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Features.def | 41 LangOpts.Sanitize.hasOneOf(SanitizerKind::Address | 44 LangOpts.Sanitize.has(SanitizerKind::Leak)) 46 LangOpts.Sanitize.hasOneOf(SanitizerKind::HWAddress | 49 LangOpts.Sanitize.has(SanitizerKind::MemtagStack)) 51 LangOpts.Sanitize.has(SanitizerKind::MemtagHeap)) 53 LangOpts.Sanitize.has(SanitizerKind::MemtagGlobals)) 56 LangOpts.Sanitize.hasOneOf(SanitizerKind::Undefined)) 99 LangOpts.Sanitize.hasOneOf(SanitizerKind::Memory | 103 FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo)) 234 FEATURE(kcfi, LangOpts.Sanitize.has(SanitizerKind::KCFI)) [all …]
|
| H A D | LangOptions.h | 424 SanitizerSet Sanitize; variable
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | SanitizerMetadata.cpp | 42 SanitizerSet FsanitizeArgument = CGM.getLangOpts().Sanitize; in reportGlobal() 80 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize)) in reportGlobal()
|
| H A D | CGDeclCXX.cpp | 455 if (getLangOpts().Sanitize.has(SanitizerKind::Address) && in CreateGlobalInitOrCleanUpFunction() 459 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) && in CreateGlobalInitOrCleanUpFunction() 463 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) && in CreateGlobalInitOrCleanUpFunction() 467 if (getLangOpts().Sanitize.has(SanitizerKind::KernelHWAddress) && in CreateGlobalInitOrCleanUpFunction() 471 if (getLangOpts().Sanitize.has(SanitizerKind::MemtagStack) && in CreateGlobalInitOrCleanUpFunction() 475 if (getLangOpts().Sanitize.has(SanitizerKind::Thread) && in CreateGlobalInitOrCleanUpFunction() 479 if (getLangOpts().Sanitize.has(SanitizerKind::Memory) && in CreateGlobalInitOrCleanUpFunction() 483 if (getLangOpts().Sanitize.has(SanitizerKind::KernelMemory) && in CreateGlobalInitOrCleanUpFunction() 487 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack) && in CreateGlobalInitOrCleanUpFunction() 491 if (getLangOpts().Sanitize.has(SanitizerKind::ShadowCallStack) && in CreateGlobalInitOrCleanUpFunction()
|
| H A D | BackendUtil.cpp | 633 LangOpts.Sanitize.has(SanitizerKind::KCFI)) in addKCFIPass() 642 LangOpts.Sanitize.has(SanitizerKind::KCFI)) in addKCFIPass() 666 if (LangOpts.Sanitize.has(Mask)) { in addSanitizers() 692 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) { in addSanitizers() 698 if (LangOpts.Sanitize.has(Mask)) { in addSanitizers() 716 if (LangOpts.Sanitize.has(Mask)) { in addSanitizers() 726 if (LangOpts.Sanitize.has(SanitizerKind::DataFlow)) { in addSanitizers() 976 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds)) in RunOptimizationPipeline()
|
| H A D | CodeGenModule.cpp | 397 if (LangOpts.Sanitize.has(SanitizerKind::Thread) || in CodeGenModule() 870 if (LangOpts.Sanitize.has(SanitizerKind::KCFI)) in Release() 1091 if (LangOpts.Sanitize.has(SanitizerKind::CFIICall)) { in Release() 1097 if (LangOpts.Sanitize.has(SanitizerKind::KCFI)) { in Release() 1140 if (LangOpts.Sanitize.has(SanitizerKind::MemtagStack)) in Release() 2732 if (!LangOpts.Sanitize.has(SanitizerKind::CFIICall)) in CreateFunctionTypeMetadataForIcall() 2880 if (LangOpts.Sanitize.has(SanitizerKind::KCFI)) in SetFunctionAttributes() 7443 return ((LangOpts.Sanitize.has(SanitizerKind::CFIVCall) && in NeedAllVtablesTypeId() 7445 (LangOpts.Sanitize.has(SanitizerKind::CFINVCall) && in NeedAllVtablesTypeId() 7447 (LangOpts.Sanitize.has(SanitizerKind::CFIDerivedCast) && in NeedAllVtablesTypeId() [all …]
|
| H A D | CodeGenFunction.cpp | 64 LangOpts.Sanitize.has(SanitizerKind::HWAddress) || in shouldEmitLifetimeMarkers() 65 LangOpts.Sanitize.has(SanitizerKind::Memory)) in shouldEmitLifetimeMarkers() 76 SanOpts(CGM.getLangOpts().Sanitize), CurFPFeatures(CGM.getLangOpts()), in CodeGenFunction()
|
| H A D | CGVTables.cpp | 970 if (CGM.getLangOpts().Sanitize.has(SanitizerKind::HWAddress)) { in RemoveHwasanMetadata()
|
| H A D | ItaniumCXXABI.cpp | 2269 if (CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) && AS == 0 && in InitializeArrayCookie() 2298 if (!CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) || AS != 0) in readArrayCookieImpl()
|
| H A D | CGCall.cpp | 1836 if (Module.getLangOpts().Sanitize.has(SanitizerKind::Memory)) in HasStrictReturn() 1858 Module.getLangOpts().Sanitize.has(SanitizerKind::Return); in HasStrictReturn()
|
| H A D | CGExpr.cpp | 3730 SanOpts = CGM.getLangOpts().Sanitize; in EmitCfiCheckFail() 3778 if (CGM.getLangOpts().Sanitize.has(Mask)) in EmitCfiCheckFail()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Darwin.cpp | 1489 if (!Sanitize.needsSharedRt()) { in AddLinkRuntimeLibArgs() 1491 if (Sanitize.needsUbsanRt()) { in AddLinkRuntimeLibArgs() 1493 } else if (Sanitize.needsAsanRt()) { in AddLinkRuntimeLibArgs() 1495 } else if (Sanitize.needsTsanRt()) { in AddLinkRuntimeLibArgs() 1505 if (Sanitize.linkRuntimes()) { in AddLinkRuntimeLibArgs() 1506 if (Sanitize.needsAsanRt()) { in AddLinkRuntimeLibArgs() 1507 if (Sanitize.needsStableAbi()) { in AddLinkRuntimeLibArgs() 1515 if (Sanitize.needsLsanRt()) in AddLinkRuntimeLibArgs() 1517 if (Sanitize.needsUbsanRt()) { in AddLinkRuntimeLibArgs() 1524 if (Sanitize.needsTsanRt()) { in AddLinkRuntimeLibArgs() [all …]
|
| H A D | MinGW.cpp | 103 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(Args); in ConstructJob() local 208 if (Sanitize.needsAsanRt() && !Args.hasArg(options::OPT_nostdlib) && in ConstructJob() 313 if (Sanitize.needsAsanRt()) { in ConstructJob()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 31 if (Opts.Sanitize.has(SanitizerKind::Address)) in getDarwinDefines()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 3384 for (StringRef Sanitizer : serializeSanitizerKinds(Opts.Sanitize)) in GenerateLangArgs() 3582 for (StringRef Sanitizer : serializeSanitizerKinds(Opts.Sanitize)) in GenerateLangArgs() 3674 Diags, Opts.Sanitize); in ParseLangArgs() 4080 Diags, Opts.Sanitize); in ParseLangArgs() 4639 !LangOpts.Sanitize.has(SanitizerKind::Address) && in CreateFromArgsImpl() 4640 !LangOpts.Sanitize.has(SanitizerKind::KernelAddress) && in CreateFromArgsImpl() 4641 !LangOpts.Sanitize.has(SanitizerKind::Memory) && in CreateFromArgsImpl() 4642 !LangOpts.Sanitize.has(SanitizerKind::KernelMemory); in CreateFromArgsImpl() 4659 !Res.getLangOpts().Sanitize.empty()) { in CreateFromArgsImpl() 4814 SanitizerSet SanHash = getLangOpts().Sanitize; in getModuleHash()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_flags.inc | 171 "Sanitize complete address space; "
|
| /freebsd-14.2/usr.sbin/bsdconfig/share/ |
| H A D | dialog.subr | 1787 # Sanitize the line before storing it if desired 1876 # Sanitize the menutag before storing it if desired 1914 # Sanitize the menuitem before storing it if desired 1953 # Sanitize the defaulitem before storing it if desired
|
| /freebsd-14.2/usr.sbin/bsdconfig/share/media/ |
| H A D | wlan.subr | 240 gsub(/'\''/, "'\''\\'\'\''", value) # Sanitize the value 323 gsub(/'\''/, "'\''\\'\'\''", value) # Sanitize the value
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 354 SanitizerSet ExistingSanitizers = ExistingLangOpts.Sanitize; in checkLanguageOptions() 355 SanitizerSet ImportedSanitizers = LangOpts.Sanitize; in checkLanguageOptions() 6034 LangOpts.Sanitize.set(SanitizerKind::ID, Record[Idx++]); in ParseLanguageOptions()
|
| H A D | ASTWriter.cpp | 1444 Record.push_back(LangOpts.Sanitize.has(SanitizerKind::ID)); in WriteControlBlock()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 5082 const SanitizerMask EnabledAsanMask = Context.getLangOpts().Sanitize.Mask & in mayInsertExtraPadding()
|