| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Regions.def | 67 ABSTRACT_REGION(TypedValueRegion, TypedRegion) 68 REGION(CompoundLiteralRegion, TypedValueRegion) 69 REGION(CXXBaseObjectRegion, TypedValueRegion) 70 REGION(CXXDerivedObjectRegion, TypedValueRegion) 71 REGION(CXXTempObjectRegion, TypedValueRegion) 72 REGION(CXXThisRegion, TypedValueRegion) 73 ABSTRACT_REGION(DeclRegion, TypedValueRegion) 83 REGION(ElementRegion, TypedValueRegion) 84 REGION(ObjCStringRegion, TypedValueRegion) 85 REGION(StringRegion, TypedValueRegion)
|
| H A D | MemRegion.h | 531 class TypedValueRegion : public TypedRegion { 535 TypedValueRegion(const MemRegion* sReg, Kind k) : TypedRegion(sReg, k) { in TypedValueRegion() function 819 class StringRegion : public TypedValueRegion { 825 : TypedValueRegion(sreg, StringRegionKind), Str(str) { in StringRegion() 853 class ObjCStringRegion : public TypedValueRegion { 860 : TypedValueRegion(sreg, ObjCStringRegionKind), Str(str) { in ObjCStringRegion() 890 class CompoundLiteralRegion : public TypedValueRegion { 897 : TypedValueRegion(sReg, CompoundLiteralRegionKind), CL(cl) { in CompoundLiteralRegion() 924 class DeclRegion : public TypedValueRegion { 926 DeclRegion(const MemRegion *sReg, Kind k) : TypedValueRegion(sReg, k) { in DeclRegion() [all …]
|
| H A D | SymbolManager.h | 42 const TypedValueRegion *R; 45 SymbolRegionValue(SymbolID sym, const TypedValueRegion *r) in SymbolRegionValue() 52 const TypedValueRegion* getRegion() const { return R; } in getRegion() 54 static void Profile(llvm::FoldingSetNodeID& profile, const TypedValueRegion* R) { in Profile() 136 const TypedValueRegion *R; 139 SymbolDerived(SymbolID sym, SymbolRef parent, const TypedValueRegion *r) in SymbolDerived() 149 const TypedValueRegion *getRegion() const { return R; } in getRegion() 159 const TypedValueRegion *r) { in Profile() 505 const SymbolRegionValue* getRegionValueSymbol(const TypedValueRegion* R); 521 const TypedValueRegion *R);
|
| H A D | BasicValueFactory.h | 64 const TypedValueRegion *region; 67 LazyCompoundValData(const StoreRef &st, const TypedValueRegion *r) in LazyCompoundValData() 77 const TypedValueRegion *getRegion() const { return region; } in getRegion() 81 const TypedValueRegion *region); 248 const TypedValueRegion *region);
|
| H A D | SValBuilder.h | 181 DefinedOrUnknownSVal getRegionValueSymbolVal(const TypedValueRegion *region); 219 SymbolRef parentSymbol, const TypedValueRegion *region); 246 const TypedValueRegion *region) { in makeLazyCompoundVal()
|
| H A D | SVals.h | 47 class TypedValueRegion; variable 419 const TypedValueRegion *getRegion() const;
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedPointee.cpp | 116 const TypedValueRegion *R; 119 DereferenceInfo(const TypedValueRegion *R, bool NCB, bool IC) in DereferenceInfo() 172 const TypedValueRegion *R = DerefInfo->R; in isDereferencableUninit() 224 llvm::SmallSet<const TypedValueRegion *, 5> VisitedRegions; in dereference() 236 const auto *R = V.getAsRegion()->getAs<TypedValueRegion>(); in dereference() 247 R = Tmp->getAs<TypedValueRegion>(); in dereference() 264 const auto *SuperR = dyn_cast<TypedValueRegion>(R->getSuperRegion()); in dereference()
|
| H A D | UninitializedObjectChecker.cpp | 108 static const TypedValueRegion * 154 const TypedValueRegion *R = getConstructedRegion(CtorDecl, Context); in checkEndFunction() 228 ProgramStateRef State, const TypedValueRegion *const R, in FindUninitializedFields() 274 bool FindUninitializedFields::isNonUnionUninit(const TypedValueRegion *R, in isNonUnionUninit() 357 .getRegionAs<TypedValueRegion>(); in isNonUnionUninit() 375 bool FindUninitializedFields::isUnionUninit(const TypedValueRegion *R) { in isUnionUninit() 455 static const TypedValueRegion * 464 auto *R = ObjectV.getAsRegion()->getAs<TypedValueRegion>(); in getConstructedRegion() 474 const TypedValueRegion *CurrRegion = getConstructedRegion(Ctor, Context); in willObjectBeAnalyzedLater() 486 const TypedValueRegion *OtherRegion = in willObjectBeAnalyzedLater()
|
| H A D | UninitializedObject.h | 199 const TypedValueRegion *const ObjectR; 222 const TypedValueRegion *const R, 290 bool isUnionUninit(const TypedValueRegion *R); 294 bool isNonUnionUninit(const TypedValueRegion *R, FieldChainInfo LocalChain);
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | RegionStore.cpp | 493 tryBindSmallStruct(RegionBindingsConstRef B, const TypedValueRegion *R, 498 const TypedValueRegion* R, SVal V); 502 const TypedValueRegion* R, SVal V); 505 tryBindSmallArray(RegionBindingsConstRef B, const TypedValueRegion *R, 509 const TypedValueRegion* R, 571 SVal getBindingForLazySymbol(const TypedValueRegion *R); 574 const TypedValueRegion *R, 585 SVal getBindingForStruct(RegionBindingsConstRef B, const TypedValueRegion *R); 586 SVal getBindingForArray(RegionBindingsConstRef B, const TypedValueRegion *R); 587 NonLoc createLazyBinding(RegionBindingsConstRef B, const TypedValueRegion *R); [all …]
|
| H A D | Store.cpp | 106 if (const auto *TR = dyn_cast<TypedValueRegion>(R)) { in castRegion() 236 const auto *TVR = dyn_cast<TypedValueRegion>(MR); in regionMatchesCXXRecordType() 310 if (const auto *TVR = dyn_cast<TypedValueRegion>(MR)) in getCXXRecordType() 393 if (isa<TypedValueRegion>(MR)) in evalBaseToDerived()
|
| H A D | MemRegion.cpp | 431 void TypedValueRegion::anchor() {} in anchor() 759 QualType Ty = cast<TypedValueRegion>(SR)->getDesugaredValueType(Ctx); in getStaticSize() 773 QualType Ty = cast<TypedValueRegion>(SR)->getDesugaredValueType(Ctx); in getStaticSize() 951 const TypedValueRegion *OrigR = I.getOriginalRegion(); in getStackOrCaptureRegionForDeclContext() 1203 const TypedValueRegion *Super, in isValidBaseClass() 1226 if (isa<TypedValueRegion>(Super)) { in getCXXBaseObjectRegion() 1227 assert(isValidBaseClass(RD, cast<TypedValueRegion>(Super), IsVirtual)); in getCXXBaseObjectRegion() 1357 R = cast<TypedValueRegion>(R)->getSuperRegion(); in StripCasts() 1494 if (const auto *TVR = dyn_cast<TypedValueRegion>(R)) { in calculateOffset()
|
| H A D | BasicValueFactory.cpp | 40 const TypedValueRegion *region) { in Profile() 145 const TypedValueRegion *region) { in getLazyCompoundValData()
|
| H A D | SymbolManager.cpp | 167 SymbolManager::getRegionValueSymbol(const TypedValueRegion* R) { in getRegionValueSymbol() 203 const TypedValueRegion *R) { in getDerivedSymbol()
|
| H A D | ExprEngineObjC.cpp | 60 if (const auto *R = dyn_cast<TypedValueRegion>(MV->getRegion())) { in populateObjCForDestinationSet()
|
| H A D | ProgramState.cpp | 252 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(R)) { in getSValAsScalarOrLoc()
|
| H A D | SVals.cpp | 197 const TypedValueRegion *nonloc::LazyCompoundVal::getRegion() const { in getRegion()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | InnerPointerChecker.cpp | 178 dyn_cast_or_null<TypedValueRegion>(Arg.getAsRegion()); in checkFunctionArguments() 211 const TypedValueRegion *ObjRegion = nullptr; in checkPostCall() 214 ObjRegion = dyn_cast_or_null<TypedValueRegion>( in checkPostCall() 231 dyn_cast_or_null<TypedValueRegion>(Call.getArgSVal(0).getAsRegion()); in checkPostCall() 318 const auto *TypedRegion = cast<TypedValueRegion>(ObjRegion); in VisitNode()
|
| H A D | BoolAssignmentChecker.cpp | 64 const TypedValueRegion *TR = in checkBind() 65 dyn_cast_or_null<TypedValueRegion>(loc.getAsRegion()); in checkBind()
|
| H A D | DereferenceChecker.cpp | 291 const TypedValueRegion *TVR = dyn_cast_or_null<TypedValueRegion>(MR); in checkBind()
|
| H A D | DeleteWithNonVirtualDtorChecker.cpp | 68 const auto *BaseClassRegion = MR->getAs<TypedValueRegion>(); in checkPreStmt()
|
| H A D | Taint.cpp | 207 const TypedValueRegion *R = SD->getRegion(); in isTainted()
|
| H A D | NullabilityChecker.cpp | 586 dyn_cast_or_null<TypedValueRegion>(Location.getAsRegion()); in checkLocation() 1212 const TypedValueRegion *TVR = in checkBind() 1213 dyn_cast_or_null<TypedValueRegion>(L.getAsRegion()); in checkBind()
|
| H A D | CStringChecker.cpp | 1102 << cast<TypedValueRegion>(MR)->getValueType(); in SummarizeRegion() 1105 os << "a variable of type" << cast<TypedValueRegion>(MR)->getValueType(); in SummarizeRegion() 1108 os << "a parameter of type" << cast<TypedValueRegion>(MR)->getValueType(); in SummarizeRegion() 1111 os << "a field of type " << cast<TypedValueRegion>(MR)->getValueType(); in SummarizeRegion() 1115 << cast<TypedValueRegion>(MR)->getValueType(); in SummarizeRegion()
|
| H A D | BasicObjCFoundationChecks.cpp | 471 const TypedValueRegion* R = dyn_cast<TypedValueRegion>(LV->stripCasts()); in checkPreStmt()
|