Home
last modified time | relevance | path

Searched refs:Shadow (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_update_shadow_word_inl.h27 if (LIKELY(Shadow::Addr0AndSizeAreEqual(cur, old))) {
29 if (LIKELY(Shadow::TidsAreEqual(old, cur))) {
48 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) {
49 if (Shadow::TidsAreEqual(old, cur))
H A Dtsan_rtl.h163 friend class Shadow;
180 class Shadow : public FastState {
182 explicit Shadow(u64 x) in Shadow() function
186 explicit Shadow(const FastState &s) in Shadow() function
222 static inline bool TidsAreEqual(const Shadow s1, const Shadow s2) { in TidsAreEqual()
229 bool Addr0AndSizeAreEqual(const Shadow s1, const Shadow s2) { in Addr0AndSizeAreEqual()
234 static ALWAYS_INLINE bool TwoRangesIntersect(Shadow s1, Shadow s2, in TwoRangesIntersect()
311 static bool TwoRangesIntersectSlow(const Shadow s1, const Shadow s2) { in TwoRangesIntersectSlow()
577 void AddMemoryAccess(uptr addr, uptr external_tag, Shadow s, StackTrace stack,
701 u64 *shadow_mem, Shadow cur);
H A Dtsan_rtl.cpp656 Shadow LoadShadow(u64 *p) { in LoadShadow()
658 return Shadow(raw); in LoadShadow()
674 Shadow cur, Shadow old) { in HandleRace()
692 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl1()
709 Shadow old(0); in MemoryAccessImpl1()
778 Shadow cur(a); in ContainsSameAccessSlow()
780 Shadow old(LoadShadow(&s[i])); in ContainsSameAccessSlow()
895 Shadow cur(fast_state); in MemoryAccess()
920 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl()
1008 Shadow s(thr->fast_state); in MemoryRangeFreed()
[all …]
H A Dtsan_rtl_report.cpp177 void ScopedReportBase::AddMemoryAccess(uptr addr, uptr external_tag, Shadow s, in AddMemoryAccess()
586 Shadow s0(thr->racy_state[0]); in RaceBetweenAtomicAndFree()
587 Shadow s1(thr->racy_state[1]); in RaceBetweenAtomicAndFree()
612 Shadow s(thr->racy_state[1]); in ReportRace()
621 uptr a0 = addr + Shadow(thr->racy_state[0]).addr0(); in ReportRace()
622 uptr a1 = addr + Shadow(thr->racy_state[1]).addr0(); in ReportRace()
623 uptr e0 = a0 + Shadow(thr->racy_state[0]).size(); in ReportRace()
624 uptr e1 = a1 + Shadow(thr->racy_state[1]).size(); in ReportRace()
677 Shadow s2(thr->racy_state[1]); in ReportRace()
698 Shadow s(thr->racy_state[i]); in ReportRace()
[all …]
H A Dtsan_rtl_thread.cpp386 Shadow cur(fast_state); in MemoryAccessRange()
397 Shadow cur(fast_state); in MemoryAccessRange()
407 Shadow cur(fast_state); in MemoryAccessRange()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp563 Value *Shadow; member
919 return Shadow; in expandFromPrimitiveShadowRecursive()
929 return Shadow; in expandFromPrimitiveShadowRecursive()
957 return Shadow; in expandFromPrimitiveShadow()
981 return Shadow; in collapseToPrimitiveShadow()
993 return Shadow; in collapseToPrimitiveShadow()
1720 if (!Shadow) { in getShadow()
1743 return Shadow; in getShadow()
1881 return CCS.Shadow; in combineShadows()
2252 Value *Shadow = in visitLoadInst() local
[all …]
H A DMemorySanitizer.cpp1069 Value *Shadow; member
1275 Value *Shadow = ShadowData.Shadow; in materializeChecks() local
1657 if (!Shadow) { in getShadow()
1662 return Shadow; in getShadow()
1789 assert(Shadow); in insertShadowCheck()
2140 if (!Shadow) in Add()
2144 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
2177 assert(Shadow); in Done()
2178 Shadow = MSV->CreateShadowCast(IRB, Shadow, MSV->getShadowTy(I)); in Done()
3236 Value *Shadow = in handleUnarySdIntrinsic() local
[all …]
H A DMemProfiler.cpp180 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
296 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow() argument
298 Shadow = IRB.CreateAnd(Shadow, Mapping.Mask); in memToShadow()
299 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow()
302 return IRB.CreateAdd(Shadow, DynamicShadowOffset); in memToShadow()
H A DHWAddressSanitizer.cpp252 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
805 Value *Shadow = IRB.CreateLShr(Mem, Mapping.Scale); in memToShadow() local
807 return IRB.CreateIntToPtr(Shadow, Int8PtrTy); in memToShadow()
809 return IRB.CreateGEP(Int8Ty, ShadowBase, Shadow); in memToShadow()
840 Value *Shadow = memToShadow(AddrLong, IRB); in instrumentMemAccessInline() local
841 Value *MemTag = IRB.CreateLoad(Int8Ty, Shadow); in instrumentMemAccessInline()
H A DAddressSanitizer.cpp675 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
1348 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow() argument
1350 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow()
1351 if (Mapping.Offset == 0) return Shadow; in memToShadow()
1359 return IRB.CreateOr(Shadow, ShadowBase); in memToShadow()
1361 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow()
/freebsd-13.1/contrib/dialog/samples/
H A Dsourcemage.rc24 # Shadow dialog boxes? This also turns on color.
33 # Shadow color
H A Dsuse.rc24 # Shadow dialog boxes? This also turns on color.
33 # Shadow color
H A Dwhiptail.rc24 # Shadow dialog boxes? This also turns on color.
33 # Shadow color
H A Dslackware.rc24 # Shadow dialog boxes? This also turns on color.
33 # Shadow color
H A Ddebian.rc25 # Shadow dialog boxes? This also turns on color.
34 # Shadow color
/freebsd-13.1/crypto/openssh/
H A DCREDITS10 Andreas Steinmetz <[email protected]> - Shadow password expiry support
90 Thomas Neumann <[email protected]> - Shadow passwords
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1373 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() local
1374 if (Shadow->getDeclName().getNameKind() in addedMember()
1377 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
2991 const UsingShadowDecl *Shadow = this; in getIntroducer() local
2993 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getIntroducer()
2994 Shadow = NextShadow; in getIntroducer()
2995 return cast<BaseUsingDecl>(Shadow->UsingOrNextShadow); in getIntroducer()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp3774 ShadowContextRAII Shadow(Visited); in lookupVisibleDecls() local
3785 ShadowContextRAII Shadow(Visited); in lookupVisibleDecls() local
3865 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
3925 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
3935 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
3942 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
3949 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
3957 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
3963 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
3969 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
[all …]
H A DSemaDeclCXX.cpp7045 Shadow->setInvalidDecl(); in InheritedConstructorInfo()
11773 PrevShadow = Shadow; in CheckUsingShadowDecl()
11880 UsingShadowDecl *Shadow; in BuildUsingShadowDecl() local
11892 BUD->addShadowDecl(Shadow); in BuildUsingShadowDecl()
11896 Shadow->setInvalidDecl(); in BuildUsingShadowDecl()
11906 return Shadow; in BuildUsingShadowDecl()
11939 cast<CXXRecordDecl>(Shadow->getDeclContext())->removeConversion(Shadow); in HideUsingShadowDecl()
11942 Shadow->getDeclContext()->removeDecl(Shadow); in HideUsingShadowDecl()
11946 S->RemoveDecl(Shadow); in HideUsingShadowDecl()
11951 Shadow->getIntroducer()->removeShadowDecl(Shadow); in HideUsingShadowDecl()
[all …]
H A DSemaAccess.cpp1310 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() local
1312 if (UsingDecl *UD = dyn_cast<UsingDecl>(Shadow->getIntroducer())) { in IsMicrosoftUsingDeclarationAccessBug()
1695 } else if (auto *Shadow = in CheckConstructorAccess() local
1699 ObjectClass = Shadow->getParent(); in CheckConstructorAccess()
H A DSemaTemplateInstantiateDecl.cpp3067 for (auto *Shadow : D->shadows()) { in VisitBaseUsingDecls() local
3071 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls()
3072 if (auto *CUSD = dyn_cast<ConstructorUsingShadowDecl>(Shadow)) in VisitBaseUsingDecls()
3078 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls()
3083 Shadow->getLocation(), OldTarget, TemplateArgs)); in VisitBaseUsingDecls()
3093 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow)) in VisitBaseUsingDecls()
3095 Shadow->getLocation(), OldPrev, TemplateArgs)); in VisitBaseUsingDecls()
3099 SemaRef.Context.setInstantiatedFromUsingShadowDecl(InstShadow, Shadow); in VisitBaseUsingDecls()
3102 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Shadow, InstShadow); in VisitBaseUsingDecls()
5913 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf() local
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2377 ConstructorUsingShadowDecl *Shadow = nullptr; variable
2382 InheritedConstructor(ConstructorUsingShadowDecl *Shadow, in InheritedConstructor() argument
2384 : Shadow(Shadow), BaseCtor(BaseCtor) {} in InheritedConstructor()
2386 explicit operator bool() const { return Shadow; }
2388 ConstructorUsingShadowDecl *getShadowDecl() const { return Shadow; } in getShadowDecl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp103 if (Flags & NodeAttrs::Shadow) in operator <<()
1216 uint16_t Flags = RA.Addr->getFlags() | NodeAttrs::Shadow; in getNextShadow()
1226 NA.Addr->setFlags(Flags | NodeAttrs::Shadow); in getNextShadow()
1236 uint16_t Flags = RA.Addr->getFlags() | NodeAttrs::Shadow; in getNextShadow()
1594 TAP.Addr->setFlags(TAP.Addr->getFlags() | NodeAttrs::Shadow); in linkRefUp()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.def130 // Shadow Call Stack
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DOptions.td169 … "Mark executable image as compatible with Control-flow Enforcement Technology (CET) Shadow Stack",
170 …utable image as compatible with Control-flow Enforcement Technology (CET) Shadow Stack (default)">;

12