Home
last modified time | relevance | path

Searched refs:Sanitize (Results 1 – 25 of 49) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DFeatures.def41 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))
90 LangOpts.Sanitize.hasOneOf(SanitizerKind::Memory |
92 FEATURE(thread_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Thread))
93 FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow))
94 FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo))
222 FEATURE(safe_stack, LangOpts.Sanitize.has(SanitizerKind::SafeStack))
[all …]
H A DLangOptions.h282 SanitizerSet Sanitize; variable
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp35 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize)) in reportGlobalToASan()
66 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize)) in reportGlobalToASan()
83 if (isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize)) in disableSanitizerForGlobal()
H A DCGDeclCXX.cpp390 if (getLangOpts().Sanitize.has(SanitizerKind::Address) && in CreateGlobalInitOrCleanUpFunction()
394 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) && in CreateGlobalInitOrCleanUpFunction()
398 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) && in CreateGlobalInitOrCleanUpFunction()
402 if (getLangOpts().Sanitize.has(SanitizerKind::KernelHWAddress) && in CreateGlobalInitOrCleanUpFunction()
406 if (getLangOpts().Sanitize.has(SanitizerKind::MemTag) && in CreateGlobalInitOrCleanUpFunction()
410 if (getLangOpts().Sanitize.has(SanitizerKind::Thread) && in CreateGlobalInitOrCleanUpFunction()
414 if (getLangOpts().Sanitize.has(SanitizerKind::Memory) && in CreateGlobalInitOrCleanUpFunction()
418 if (getLangOpts().Sanitize.has(SanitizerKind::KernelMemory) && in CreateGlobalInitOrCleanUpFunction()
422 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack) && in CreateGlobalInitOrCleanUpFunction()
426 if (getLangOpts().Sanitize.has(SanitizerKind::ShadowCallStack) && in CreateGlobalInitOrCleanUpFunction()
H A DBackendUtil.cpp723 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds)) { in CreatePasses()
739 if (LangOpts.Sanitize.has(SanitizerKind::Address)) { in CreatePasses()
746 if (LangOpts.Sanitize.has(SanitizerKind::KernelAddress)) { in CreatePasses()
753 if (LangOpts.Sanitize.has(SanitizerKind::HWAddress)) { in CreatePasses()
760 if (LangOpts.Sanitize.has(SanitizerKind::KernelHWAddress)) { in CreatePasses()
767 if (LangOpts.Sanitize.has(SanitizerKind::Memory)) { in CreatePasses()
774 if (LangOpts.Sanitize.has(SanitizerKind::KernelMemory)) { in CreatePasses()
781 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) { in CreatePasses()
788 if (LangOpts.Sanitize.has(SanitizerKind::DataFlow)) { in CreatePasses()
1112 if (LangOpts.Sanitize.has(Mask)) { in addSanitizers()
[all …]
H A DCodeGenModule.cpp149 if (LangOpts.Sanitize.has(SanitizerKind::Thread) || in CodeGenModule()
648 if (LangOpts.Sanitize.has(SanitizerKind::CFIICall)) { in Release()
2047 if (!LangOpts.Sanitize.has(SanitizerKind::CFIICall)) in CreateFunctionTypeMetadataForIcall()
2591 LangOpts.Sanitize.Mask & in isInNoSanitizeList()
6272 return ((LangOpts.Sanitize.has(SanitizerKind::CFIVCall) && in NeedAllVtablesTypeId()
6274 (LangOpts.Sanitize.has(SanitizerKind::CFINVCall) && in NeedAllVtablesTypeId()
6276 (LangOpts.Sanitize.has(SanitizerKind::CFIDerivedCast) && in NeedAllVtablesTypeId()
6278 (LangOpts.Sanitize.has(SanitizerKind::CFIUnrelatedCast) && in NeedAllVtablesTypeId()
H A DCodeGenFunction.cpp60 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()
H A DItaniumCXXABI.cpp2213 if (CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) && AS == 0 && in InitializeArrayCookie()
2242 if (!CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) || AS != 0) in readArrayCookieImpl()
H A DCGCall.cpp2241 getLangOpts().Sanitize.has(SanitizerKind::Memory) || in ConstructAttributeList()
2242 getLangOpts().Sanitize.has(SanitizerKind::Return); in ConstructAttributeList()
H A DCGExpr.cpp3408 SanOpts = CGM.getLangOpts().Sanitize; in EmitCfiCheckFail()
3455 if (CGM.getLangOpts().Sanitize.has(Mask)) in EmitCfiCheckFail()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DDarwin.cpp1306 const SanitizerArgs &Sanitize = getSanitizerArgs(); in AddLinkRuntimeLibArgs() local
1307 if (Sanitize.needsAsanRt()) in AddLinkRuntimeLibArgs()
1309 if (Sanitize.needsLsanRt()) in AddLinkRuntimeLibArgs()
1311 if (Sanitize.needsUbsanRt()) in AddLinkRuntimeLibArgs()
1313 Sanitize.requiresMinimalRuntime() ? "ubsan_minimal" in AddLinkRuntimeLibArgs()
1315 Sanitize.needsSharedRt()); in AddLinkRuntimeLibArgs()
1316 if (Sanitize.needsTsanRt()) in AddLinkRuntimeLibArgs()
1318 if (Sanitize.needsFuzzer() && !Args.hasArg(options::OPT_dynamiclib)) { in AddLinkRuntimeLibArgs()
1324 if (Sanitize.needsStatsRt()) { in AddLinkRuntimeLibArgs()
H A DMinGW.cpp101 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(); in ConstructJob() local
271 if (Sanitize.needsAsanRt()) { in ConstructJob()
H A DClang.cpp5734 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(); in ConstructJob() local
5735 Sanitize.addArgs(TC, Args, CmdArgs, InputType); in ConstructJob()
6652 (WholeProgramVTables || Sanitize.needsLTO()) && in ConstructJob()
6657 if (Sanitize.needsLTO() && !SplitLTOUnit) in ConstructJob()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
H A DOSTargets.cpp31 if (Opts.Sanitize.has(SanitizerKind::Address)) in getDarwinDefines()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DCompilerInvocation.cpp3307 for (StringRef Sanitizer : serializeSanitizerKinds(Opts.Sanitize)) in GenerateLangArgs()
3496 for (StringRef Sanitizer : serializeSanitizerKinds(Opts.Sanitize)) in GenerateLangArgs()
3552 Diags, Opts.Sanitize); in ParseLangArgs()
3951 Diags, Opts.Sanitize); in ParseLangArgs()
4414 !LangOpts.Sanitize.has(SanitizerKind::Address) && in CreateFromArgsImpl()
4415 !LangOpts.Sanitize.has(SanitizerKind::KernelAddress) && in CreateFromArgsImpl()
4416 !LangOpts.Sanitize.has(SanitizerKind::Memory) && in CreateFromArgsImpl()
4417 !LangOpts.Sanitize.has(SanitizerKind::KernelMemory); in CreateFromArgsImpl()
4434 !Res.getLangOpts()->Sanitize.empty()) { in CreateFromArgsImpl()
4569 SanitizerSet SanHash = LangOpts->Sanitize; in getModuleHash()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_flags.inc152 "Sanitize complete address space; "
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_flags.inc154 "Sanitize complete address space; "
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_flags.inc168 "Sanitize complete address space; "
/netbsd-src/external/gpl2/send-pr/dist/send-pr/
H A DChangeLog236 * .Sanitize: fix filenames
251 * .Sanitize: reflect new doc strategy
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDecl.cpp4620 const SanitizerMask EnabledAsanMask = Context.getLangOpts().Sanitize.Mask & in mayInsertExtraPadding()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp345 SanitizerSet ExistingSanitizers = ExistingLangOpts.Sanitize; in checkLanguageOptions()
346 SanitizerSet ImportedSanitizers = LangOpts.Sanitize; in checkLanguageOptions()
5753 LangOpts.Sanitize.set(SanitizerKind::ID, Record[Idx++]); in ParseLanguageOptions()
H A DASTWriter.cpp1242 Record.push_back(LangOpts.Sanitize.has(SanitizerKind::ID)); in WriteControlBlock()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dcommon.opt1041 -fsanitize-sections=<sec1,sec2,...> Sanitize global variables
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dcommon.opt1097 -fsanitize-sections=<sec1,sec2,...> Sanitize global variables
/netbsd-src/external/gpl2/gmake/dist/
H A DChangeLog642 * job.c (construct_command_argv_internal): Sanitize handling of

12