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.h409 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 Dtsan_interface_java.cpp136 ShadowSet(d, dend, Shadow::kEmpty); in __tsan_java_move()
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.cpp88 ShadowFT Shadow; in ReadShadowInternal() local
89 __builtin_memcpy(&Shadow, ptr, sizeof(Shadow)); in ReadShadowInternal()
90 return Shadow; in ReadShadowInternal()
421 int32_t checkFT(const FT value, ShadowFT Shadow, CheckTypeT CheckType, in checkFT() argument
427 const InternalFT check_shadow = Shadow; in checkFT()
526 ShadowPrinter::dec(Shadow).Buffer, ShadowPrinter::hex(Shadow).Buffer, in checkFT()
527 FTInfo<FT>::kCppTypeName, ValuePrinter::dec(Shadow).Buffer, in checkFT()
528 ValuePrinter::hex(Shadow).Buffer, RelErrBuf, in checkFT()
710 ShadowFT Shadow; in checkFTFromShadowStack() local
711 __builtin_memcpy(&Shadow, __nsan_shadow_args_ptr, sizeof(ShadowFT)); in checkFTFromShadowStack()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1151 Value *Shadow; member
1156 : Shadow(S), Origin(O), OrigIns(I) {} in ShadowOriginAndInsertPoint()
1282 void storeOrigin(IRBuilder<> &IRB, Value *Addr, Value *Shadow, Value *Origin, in storeOrigin()
1286 TypeSize StoreSize = DL.getTypeStoreSize(Shadow->getType()); in storeOrigin()
1288 Value *ConvertedShadow = convertShadowToScalar(Shadow, IRB); in storeOrigin()
1329 Value *Shadow = SI->isAtomic() ? getCleanShadow(Val) : getShadow(Val); in materializeStores() local
1331 Type *ShadowTy = Shadow->getType(); in materializeStores()
1337 StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment); in materializeStores()
1345 storeOrigin(IRB, Addr, Shadow, getOrigin(Val), OriginPtr, in materializeStores()
1431 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,
949 Value *Shadow, SmallVector<unsigned, 4> &Indices, Type *SubShadowTy, in expandFromPrimitiveShadowRecursive() argument
952 return IRB.CreateInsertValue(Shadow, PrimitiveShadow, Indices); in expandFromPrimitiveShadowRecursive()
957 Shadow = expandFromPrimitiveShadowRecursive( in expandFromPrimitiveShadowRecursive()
[all …]
H A DNumericalStabilitySanitizer.cpp431 void setShadow(Value &V, Value &Shadow) { in setShadow() argument
432 [[maybe_unused]] const bool Inserted = Map.try_emplace(&V, &Shadow).second; in setShadow()
725 Value *Shadow = Builder.CreateSelect(HasShadowArgs, L, in createShadowArguments() local
727 Map.setShadow(Arg, *Shadow); in createShadowArguments()
1056 PHINode *Shadow = PHINode::Create(ExtendedVT, Phi.getNumIncomingValues()); in maybeCreateShadowPhi() local
1057 Shadow->insertAfter(&Phi); in maybeCreateShadowPhi()
1058 return Shadow; in maybeCreateShadowPhi()
1552 Value *Shadow = Map.getShadow(Arg); in maybeHandleKnownCallBase() local
1555 assert(Shadow->getType() == ShadowArgTy); in maybeHandleKnownCallBase()
1556 Args.push_back(Shadow); in maybeHandleKnownCallBase()
[all …]
H A DMemProfiler.cpp240 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
301 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow() argument
303 Shadow = IRB.CreateAnd(Shadow, Mapping.Mask); in memToShadow()
304 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow()
307 return IRB.CreateAdd(Shadow, DynamicShadowOffset); in memToShadow()
H A DHWAddressSanitizer.cpp327 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
895 Value *Shadow = IRB.CreateLShr(Mem, Mapping.Scale); in memToShadow() local
897 return IRB.CreateIntToPtr(Shadow, PtrTy); in memToShadow()
899 return IRB.CreatePtrAdd(ShadowBase, Shadow); in memToShadow()
923 Value *Shadow = memToShadow(R.AddrLong, IRB); in insertShadowTagCheck() local
924 R.MemTag = IRB.CreateLoad(Int8Ty, Shadow); in insertShadowTagCheck()
/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/AST/
H A DDeclCXX.cpp1407 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() local
1408 if (Shadow->getDeclName().getNameKind() in addedMember()
1411 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
3129 const UsingShadowDecl *Shadow = this; in getIntroducer() local
3131 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getIntroducer()
3132 Shadow = NextShadow; in getIntroducer()
3133 return cast<BaseUsingDecl>(Shadow->UsingOrNextShadow); in getIntroducer()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4040 ShadowContextRAII Shadow(Visited); in lookupVisibleDecls() local
4051 ShadowContextRAII Shadow(Visited); in lookupVisibleDecls() local
4130 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4190 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4200 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4207 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4214 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4222 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4228 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
4234 ShadowContextRAII Shadow(Visited); in lookupInDeclContext() local
[all …]
H A DSemaAccess.cpp1318 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() local
1320 if (UsingDecl *UD = dyn_cast<UsingDecl>(Shadow->getIntroducer())) { in IsMicrosoftUsingDeclarationAccessBug()
1723 } else if (auto *Shadow = in CheckConstructorAccess() local
1727 ObjectClass = Shadow->getParent(); in CheckConstructorAccess()
H A DSemaDeclCXX.cpp7239 ConstructorUsingShadowDecl *Shadow) in InheritedConstructorInfo() argument
7247 for (auto *D : Shadow->redecls()) { in InheritedConstructorInfo()
7269 !Shadow->isInvalidDecl()) { in InheritedConstructorInfo()
7272 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
7285 Shadow->setInvalidDecl(); in InheritedConstructorInfo()
12433 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() local
12434 PrevShadow = Shadow; in CheckUsingShadowDecl()
12540 UsingShadowDecl *Shadow; in BuildUsingShadowDecl() local
12546 Shadow = ConstructorUsingShadowDecl::Create( in BuildUsingShadowDecl()
12549 Shadow = UsingShadowDecl::Create(Context, CurContext, BUD->getLocation(), in BuildUsingShadowDecl()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.def139 // Shadow Call Stack
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2514 ConstructorUsingShadowDecl *Shadow = nullptr; variable
2519 InheritedConstructor(ConstructorUsingShadowDecl *Shadow, in InheritedConstructor() argument
2521 : Shadow(Shadow), BaseCtor(BaseCtor) {} in InheritedConstructor()
2523 explicit operator bool() const { return Shadow; }
2525 ConstructorUsingShadowDecl *getShadowDecl() const { return Shadow; } in getShadowDecl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp106 if (Flags & NodeAttrs::Shadow) in operator <<()
1228 uint16_t Flags = RA.Addr->getFlags() | NodeAttrs::Shadow; in getNextShadow()
1238 NA.Addr->setFlags(Flags | NodeAttrs::Shadow); in getNextShadow()
1537 TAP.Addr->setFlags(TAP.Addr->getFlags() | NodeAttrs::Shadow); in linkRefUp()

123