| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_access.cpp | 148 NOINLINE void DoReportRace(ThreadState* thr, RawShadow* shadow_mem, Shadow cur, in DoReportRace() 149 Shadow old, in DoReportRace() 155 old = Shadow(LoadShadow(&shadow_mem[1])); in DoReportRace() 158 StoreShadow(&shadow_mem[i], i == 0 ? Shadow::kRodata : Shadow::kEmpty); in DoReportRace() 166 ReportRace(thr, shadow_mem, cur, Shadow(old), typ); in DoReportRace() 173 bool ContainsSameAccess(RawShadow* s, Shadow cur, int unused0, int unused1, in ContainsSameAccess() 183 static_cast<u32>(Shadow::kRodata)); in ContainsSameAccess() 187 if (old == Shadow::kRodata) in ContainsSameAccess() 195 bool CheckRaces(ThreadState* thr, RawShadow* shadow_mem, Shadow cur, in CheckRaces() 200 Shadow old(LoadShadow(sp)); in CheckRaces() [all …]
|
| H A D | tsan_shadow.h | 41 friend class Shadow; 57 class Shadow { 61 Shadow(FastState state, u32 addr, u32 size, AccessType typ) { in Shadow() function 77 explicit Shadow(RawShadow x = Shadow::kEmpty) { raw_ = static_cast<u32>(x); } 85 DCHECK(part_.access_ != 0 || raw_ == static_cast<u32>(Shadow::kRodata)); in GetAccess() 136 Shadow s(fs, 0, 8, kAccessWrite); in FreedMarker() 141 Shadow s; in FreedInfo() 179 static_assert(sizeof(Shadow) == kShadowSize, "bad Shadow size");
|
| H A D | tsan_rtl_report.cpp | 177 void ScopedReportBase::AddMemoryAccess(uptr addr, uptr external_tag, Shadow s, in AddMemoryAccess() 703 static bool SpuriousRace(Shadow old) { in SpuriousRace() 704 Shadow last(LoadShadow(&ctx->last_spurious_race)); in SpuriousRace() 708 void ReportRace(ThreadState *thr, RawShadow *shadow_mem, Shadow cur, Shadow old, in ReportRace() 732 Shadow s[kMop] = {cur, old}; in ReportRace()
|
| H A D | tsan_rtl.h | 409 void AddMemoryAccess(uptr addr, uptr external_tag, Shadow s, Tid tid, 496 void ReportRace(ThreadState *thr, RawShadow *shadow_mem, Shadow cur, Shadow old,
|
| H A D | tsan_interface_java.cpp | 136 ShadowSet(d, dend, Shadow::kEmpty); in __tsan_java_move()
|
| H A D | tsan_platform_linux.cpp | 179 *p = Shadow::kRodata; in MapRodata()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/ |
| H A D | tsan_shadow_test.cpp | 23 void CheckShadow(const Shadow *s, Sid sid, Epoch epoch, uptr addr, uptr size, in CheckShadow() 36 TEST(Shadow, Shadow) { in TEST() argument 50 Shadow s0(fs, 1, 2, kAccessWrite); in TEST() 52 Shadow s1(fs, 2, 3, kAccessRead); in TEST() 54 Shadow s2(fs, 0xfffff8 + 4, 1, kAccessWrite | kAccessAtomic); in TEST() 56 Shadow s3(fs, 0xfffff8 + 0, 8, kAccessRead | kAccessAtomic); in TEST() 85 Shadow sro(Shadow::kRodata); in TEST() 89 TEST(Shadow, Mapping) { in TEST() argument 104 TEST(Shadow, Celling) { in TEST() argument 246 TEST(Shadow, AllMappings) { ForEachMapping<MappingTest>(); } in TEST() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 597 Value *Shadow; member 646 void setShadow(Instruction *I, Value *Shadow); 685 Value *collapseToPrimitiveShadow(Value *Shadow, Instruction *Pos); 707 Value *collapseAggregateShadow(AggregateType *AT, Value *Shadow, 710 Value *collapseToPrimitiveShadow(Value *Shadow, IRBuilder<> &IRB); 739 Value *updateOriginIfTainted(Value *Shadow, Value *Origin, IRBuilder<> &IRB); 755 void storeOrigin(Instruction *Pos, Value *Addr, uint64_t Size, Value *Shadow, 937 Value *Shadow, SmallVector<unsigned, 4> &Indices, Type *SubShadowTy, in expandFromPrimitiveShadowRecursive() argument 940 return IRB.CreateInsertValue(Shadow, PrimitiveShadow, Indices); in expandFromPrimitiveShadowRecursive() 945 Shadow = expandFromPrimitiveShadowRecursive( in expandFromPrimitiveShadowRecursive() [all …]
|
| H A D | MemorySanitizer.cpp | 1099 Value *Shadow; member 1104 : Shadow(S), Origin(O), OrigIns(I) {} in ShadowOriginAndInsertPoint() 1211 void storeOrigin(IRBuilder<> &IRB, Value *Addr, Value *Shadow, Value *Origin, in storeOrigin() 1215 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in storeOrigin() 1216 Value *ConvertedShadow = convertShadowToScalar(Shadow, IRB); in storeOrigin() 1259 Value *Shadow = SI->isAtomic() ? getCleanShadow(Val) : getShadow(Val); in materializeStores() local 1261 Type *ShadowTy = Shadow->getType(); in materializeStores() 1267 StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment); in materializeStores() 1275 storeOrigin(IRB, Addr, Shadow, getOrigin(Val), OriginPtr, in materializeStores() 1359 Value *Shadow = nullptr; in materializeInstructionChecks() local [all …]
|
| H A D | MemProfiler.cpp | 186 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB); 242 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow() argument 244 Shadow = IRB.CreateAnd(Shadow, Mapping.Mask); in memToShadow() 245 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow() 248 return IRB.CreateAdd(Shadow, DynamicShadowOffset); in memToShadow()
|
| H A D | HWAddressSanitizer.cpp | 297 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB); 810 Value *Shadow = IRB.CreateLShr(Mem, Mapping.Scale); in memToShadow() local 812 return IRB.CreateIntToPtr(Shadow, Int8PtrTy); in memToShadow() 814 return IRB.CreateGEP(Int8Ty, ShadowBase, Shadow); in memToShadow() 853 Value *Shadow = memToShadow(AddrLong, IRB); in instrumentMemAccessInline() local 854 Value *MemTag = IRB.CreateLoad(Int8Ty, Shadow); in instrumentMemAccessInline()
|
| H A D | AddressSanitizer.cpp | 712 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB); 1212 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow() argument 1214 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow() 1215 if (Mapping.Offset == 0) return Shadow; in memToShadow() 1223 return IRB.CreateOr(Shadow, ShadowBase); in memToShadow() 1225 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
| H A D | shadow1.C | 14 int Shadow(void); // member function 25 Function(int Shadow) in Function() argument
|
| /openbsd-src/games/quiz/datfiles/ |
| H A D | midearth | 21 Ephel Duath|Mountains of Shadow:Durthang
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 1352 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() local 1353 if (Shadow->getDeclName().getNameKind() in addedMember() 1356 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember() 3044 const UsingShadowDecl *Shadow = this; in getIntroducer() local 3046 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getIntroducer() 3047 Shadow = NextShadow; in getIntroducer() 3048 return cast<BaseUsingDecl>(Shadow->UsingOrNextShadow); in getIntroducer()
|
| H A D | DeclPrinter.cpp | 1618 for (const auto *Shadow : D->shadows()) { in VisitUsingDecl() local 1620 dyn_cast<ConstructorUsingShadowDecl>(Shadow)) { in VisitUsingDecl() 1621 assert(Shadow->getDeclContext() == ConstructorShadow->getDeclContext()); in VisitUsingDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 4087 ShadowContextRAII Shadow(Visited); in lookupVisibleDecls() local 4098 ShadowContextRAII Shadow(Visited); in lookupVisibleDecls() local 4178 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local 4238 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local 4248 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local 4255 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local 4262 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local 4270 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local 4276 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local 4282 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local [all …]
|
| H A D | SemaAccess.cpp | 1310 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() local 1312 if (UsingDecl *UD = dyn_cast<UsingDecl>(Shadow->getIntroducer())) { in IsMicrosoftUsingDeclarationAccessBug() 1698 } else if (auto *Shadow = in CheckConstructorAccess() local 1702 ObjectClass = Shadow->getParent(); in CheckConstructorAccess()
|
| H A D | SemaDeclCXX.cpp | 7153 ConstructorUsingShadowDecl *Shadow) in InheritedConstructorInfo() argument 7161 for (auto *D : Shadow->redecls()) { in InheritedConstructorInfo() 7183 !Shadow->isInvalidDecl()) { in InheritedConstructorInfo() 7186 << Shadow->getTargetDecl(); in InheritedConstructorInfo() 7199 Shadow->setInvalidDecl(); in InheritedConstructorInfo() 12080 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() local 12081 PrevShadow = Shadow; in CheckUsingShadowDecl() 12188 UsingShadowDecl *Shadow; in BuildUsingShadowDecl() local 12194 Shadow = ConstructorUsingShadowDecl::Create( in BuildUsingShadowDecl() 12197 Shadow = UsingShadowDecl::Create(Context, CurContext, BUD->getLocation(), in BuildUsingShadowDecl() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 3183 for (auto *Shadow : D->shadows()) { in VisitBaseUsingDecls() local 3187 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls() 3188 if (auto *CUSD = dyn_cast<ConstructorUsingShadowDecl>(Shadow)) in VisitBaseUsingDecls() 3194 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls() 3199 Shadow->getLocation(), OldTarget, TemplateArgs)); in VisitBaseUsingDecls() 3209 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow)) in VisitBaseUsingDecls() 3211 Shadow->getLocation(), OldPrev, TemplateArgs)); in VisitBaseUsingDecls() 3215 SemaRef.Context.setInstantiatedFromUsingShadowDecl(InstShadow, Shadow); in VisitBaseUsingDecls() 3218 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Shadow, InstShadow); in VisitBaseUsingDecls() 5953 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf() local [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 2423 ConstructorUsingShadowDecl *Shadow = nullptr; variable 2428 InheritedConstructor(ConstructorUsingShadowDecl *Shadow, in InheritedConstructor() argument 2430 : Shadow(Shadow), BaseCtor(BaseCtor) {} in InheritedConstructor() 2432 explicit operator bool() const { return Shadow; } 2434 ConstructorUsingShadowDecl *getShadowDecl() const { return Shadow; } in getShadowDecl()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | RDFGraph.cpp | 101 if (Flags & NodeAttrs::Shadow) in operator <<() 1205 uint16_t Flags = RA.Addr->getFlags() | NodeAttrs::Shadow; in getNextShadow() 1215 NA.Addr->setFlags(Flags | NodeAttrs::Shadow); in getNextShadow() 1225 uint16_t Flags = RA.Addr->getFlags() | NodeAttrs::Shadow; in getNextShadow() 1583 TAP.Addr->setFlags(TAP.Addr->getFlags() | NodeAttrs::Shadow); in linkRefUp()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | Sanitizers.def | 136 // Shadow Call Stack
|
| /openbsd-src/games/hack/ |
| H A D | data | 76 [From: The Charwoman's Shadow, by Lord Dunsany.] 170 [From: The Charwoman's Shadow, by Lord Dunsany.]
|
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | Options.td | 185 … "Mark executable image as compatible with Control-flow Enforcement Technology (CET) Shadow Stack", 186 …utable image as compatible with Control-flow Enforcement Technology (CET) Shadow Stack (default)">;
|