Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp148 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 Dtsan_shadow.h41 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 Dtsan_rtl_report.cpp177 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 Dtsan_rtl.h412 void AddMemoryAccess(uptr addr, uptr external_tag, Shadow s, Tid tid,
499 void ReportRace(ThreadState *thr, RawShadow *shadow_mem, Shadow cur, Shadow old,
H A Dtsan_interface_java.cpp135 ShadowSet(d, dend, Shadow::kEmpty); in __tsan_java_move()
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.cpp107 ShadowFT Shadow; in ReadShadowInternal() local
108 __builtin_memcpy(&Shadow, ptr, sizeof(Shadow)); in ReadShadowInternal()
109 return Shadow; in ReadShadowInternal()
447 int32_t checkFT(const FT value, ShadowFT Shadow, CheckTypeT CheckType, in checkFT() argument
453 const InternalFT check_shadow = Shadow; in checkFT()
578 ShadowPrinter::dec(Shadow).Buffer, ShadowPrinter::hex(Shadow).Buffer, in checkFT()
579 FTInfo<FT>::kCppTypeName, ValuePrinter::dec(Shadow).Buffer, in checkFT()
580 ValuePrinter::hex(Shadow).Buffer, RelErrBuf, in checkFT()
762 ShadowFT Shadow; in checkFTFromShadowStack() local
763 __builtin_memcpy(&Shadow, __nsan_shadow_args_ptr, sizeof(ShadowFT)); in checkFTFromShadowStack()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1210 Value *Shadow; member
1215 : Shadow(S), Origin(O), OrigIns(I) {} in ShadowOriginAndInsertPoint()
1341 void storeOrigin(IRBuilder<> &IRB, Value *Addr, Value *Shadow, Value *Origin, in storeOrigin()
1345 TypeSize StoreSize = DL.getTypeStoreSize(Shadow->getType()); in storeOrigin()
1347 Value *ConvertedShadow = convertShadowToScalar(Shadow, IRB); in storeOrigin()
1388 Value *Shadow = SI->isAtomic() ? getCleanShadow(Val) : getShadow(Val); in materializeStores() local
1390 Type *ShadowTy = Shadow->getType(); in materializeStores()
1397 IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment); in materializeStores()
1404 storeOrigin(IRB, Addr, Shadow, getOrigin(Val), OriginPtr, in materializeStores()
1504 Value *Shadow = nullptr; in materializeInstructionChecks() local
[all …]
H A DDataFlowSanitizer.cpp607 Value *Shadow; member
656 void setShadow(Instruction *I, Value *Shadow);
695 Value *collapseToPrimitiveShadow(Value *Shadow, BasicBlock::iterator Pos);
717 Value *collapseAggregateShadow(AggregateType *AT, Value *Shadow,
720 Value *collapseToPrimitiveShadow(Value *Shadow, IRBuilder<> &IRB);
749 Value *updateOriginIfTainted(Value *Shadow, Value *Origin, IRBuilder<> &IRB);
766 Value *Shadow, Value *Origin, Value *StoreOriginAddr,
948 Value *Shadow, SmallVector<unsigned, 4> &Indices, Type *SubShadowTy, in expandFromPrimitiveShadowRecursive() argument
951 return IRB.CreateInsertValue(Shadow, PrimitiveShadow, Indices); in expandFromPrimitiveShadowRecursive()
956 Shadow = expandFromPrimitiveShadowRecursive( in expandFromPrimitiveShadowRecursive()
[all …]
H A DNumericalStabilitySanitizer.cpp427 void setShadow(Value &V, Value &Shadow) { in setShadow() argument
428 [[maybe_unused]] const bool Inserted = Map.try_emplace(&V, &Shadow).second; in setShadow()
779 Value *Shadow = Builder.CreateSelect(HasShadowArgs, L, in createShadowArguments() local
781 Map.setShadow(Arg, *Shadow); in createShadowArguments()
1110 PHINode *Shadow = PHINode::Create(ExtendedVT, Phi.getNumIncomingValues()); in maybeCreateShadowPhi() local
1111 Shadow->insertAfter(Phi.getIterator()); in maybeCreateShadowPhi()
1112 return Shadow; in maybeCreateShadowPhi()
1606 Value *Shadow = Map.getShadow(Arg); in maybeHandleKnownCallBase() local
1609 assert(Shadow->getType() == ShadowArgTy); in maybeHandleKnownCallBase()
1610 Args.push_back(Shadow); in maybeHandleKnownCallBase()
[all …]
H A DMemProfInstrumentation.cpp204 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
263 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow() argument
265 Shadow = IRB.CreateAnd(Shadow, Mapping.Mask); in memToShadow()
266 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow()
269 return IRB.CreateAdd(Shadow, DynamicShadowOffset); in memToShadow()
H A DHWAddressSanitizer.cpp337 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
933 Value *Shadow = IRB.CreateLShr(Mem, Mapping.scale()); in memToShadow() local
935 return IRB.CreateIntToPtr(Shadow, PtrTy); in memToShadow()
937 return IRB.CreatePtrAdd(ShadowBase, Shadow); in memToShadow()
961 Value *Shadow = memToShadow(R.AddrLong, IRB); in insertShadowTagCheck() local
962 R.MemTag = IRB.CreateLoad(Int8Ty, Shadow); in insertShadowTagCheck()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsanInstrumentation.cpp140 Value *Shadow, int AsanScale, uint32_t AsanOffset) { in memToShadow() argument
142 Shadow = IRB.CreateLShr(Shadow, AsanScale); in memToShadow()
144 return Shadow; in memToShadow()
147 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow()
/freebsd/contrib/dialog/samples/
H A Dsourcemage.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
H A Dslackware.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
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp527 struct Shadow { struct in __hwasan::__anon865875d10511::BaseReport
534 Shadow CopyShadow() const;
559 const Shadow shadow;
593 BaseReport::Shadow BaseReport::CopyShadow() const { in CopyShadow()
594 Shadow result; in CopyShadow()
/freebsd/crypto/openssh/
H A DCREDITS10 Andreas Steinmetz <ast@domdv.de> - Shadow password expiry support
90 Thomas Neumann <tom@smart.ruhr.de> - Shadow passwords
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4135 ShadowContextRAII Shadow(Visited); in lookupVisibleDecls() local
4146 ShadowContextRAII Shadow(Visited); in lookupVisibleDecls() local
4225 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4285 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4295 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4302 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4309 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4317 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4323 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4329 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
[all …]
H A DSemaAccess.cpp1317 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() local
1319 if (UsingDecl *UD = dyn_cast<UsingDecl>(Shadow->getIntroducer())) { in IsMicrosoftUsingDeclarationAccessBug()
1719 } else if (auto *Shadow = in CheckConstructorAccess() local
1723 ObjectClass = Shadow->getParent(); in CheckConstructorAccess()
H A DSemaDeclCXX.cpp7396 ConstructorUsingShadowDecl *Shadow) in InheritedConstructorInfo() argument
7404 for (auto *D : Shadow->redecls()) { in InheritedConstructorInfo()
7426 !Shadow->isInvalidDecl()) { in InheritedConstructorInfo()
7429 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
7442 Shadow->setInvalidDecl(); in InheritedConstructorInfo()
12760 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() local
12761 PrevShadow = Shadow; in CheckUsingShadowDecl()
12867 UsingShadowDecl *Shadow; in BuildUsingShadowDecl() local
12873 Shadow = ConstructorUsingShadowDecl::Create( in BuildUsingShadowDecl()
12876 Shadow = UsingShadowDecl::Create(Context, CurContext, BUD->getLocation(), in BuildUsingShadowDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1479 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() local
1480 if (Shadow->getDeclName().getNameKind() in addedMember()
1483 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
3354 const UsingShadowDecl *Shadow = this; in getIntroducer() local
3356 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getIntroducer()
3357 Shadow = NextShadow; in getIntroducer()
3358 return cast<BaseUsingDecl>(Shadow->UsingOrNextShadow); in getIntroducer()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.def145 // Shadow Call Stack
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2571 ConstructorUsingShadowDecl *Shadow = nullptr; variable
2576 InheritedConstructor(ConstructorUsingShadowDecl *Shadow, in InheritedConstructor() argument
2578 : Shadow(Shadow), BaseCtor(BaseCtor) {} in InheritedConstructor()
2580 explicit operator bool() const { return Shadow; }
2582 ConstructorUsingShadowDecl *getShadowDecl() const { return Shadow; } in getShadowDecl()

123