/external/clang/lib/StaticAnalyzer/Checkers/ |
D | BoolAssignmentChecker.cpp | 72 Optional<DefinedSVal> DV = val.getAs<DefinedSVal>(); in checkBind() 84 DefinedSVal zeroVal = svalBuilder.makeIntVal(0, valTy); in checkBind() 89 Optional<DefinedSVal> greaterThanEqualToZero = in checkBind() 90 greaterThanOrEqualToZeroVal.getAs<DefinedSVal>(); in checkBind() 120 DefinedSVal OneVal = svalBuilder.makeIntVal(1, valTy); in checkBind() 125 Optional<DefinedSVal> lessThanEqToOne = in checkBind() 126 lessThanEqToOneVal.getAs<DefinedSVal>(); in checkBind()
|
D | ObjCContainersChecker.cpp | 59 REGISTER_MAP_WITH_PROGRAMSTATE(ArraySizeMap, SymbolRef, DefinedSVal) in REGISTER_MAP_WITH_PROGRAMSTATE() argument 76 State->set<ArraySizeMap>(ArraySym, SizeV.castAs<DefinedSVal>())); in REGISTER_MAP_WITH_PROGRAMSTATE() 119 const DefinedSVal *Size = State->get<ArraySizeMap>(ArraySym); in checkPreStmt() 129 DefinedSVal Idx = IdxVal.castAs<DefinedSVal>(); in checkPreStmt()
|
D | NonNullParamChecker.cpp | 76 Optional<DefinedSVal> DV = V.getAs<DefinedSVal>(); in checkPreCall() 99 DV = V.getAs<DefinedSVal>(); in checkPreCall()
|
D | DivZeroChecker.cpp | 61 Optional<DefinedSVal> DV = Denom.getAs<DefinedSVal>(); in checkPreStmt()
|
D | VLASizeChecker.cpp | 113 DefinedSVal sizeD = sizeV.castAs<DefinedSVal>(); in checkPreStmt()
|
D | BasicObjCFoundationChecks.cpp | 536 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>(); in checkPreStmt() 542 DefinedSVal zero = in checkPreStmt() 543 svalBuilder.makeZeroVal(Arg->getType()).castAs<DefinedSVal>(); in checkPreStmt() 848 Optional<DefinedSVal> KnownCollection = CollectionVal.getAs<DefinedSVal>(); in checkCollectionNonNil() 919 Optional<DefinedSVal> CountGreaterThanZero = in assumeCollectionNonEmpty() 920 CountGreaterThanZeroVal.getAs<DefinedSVal>(); in assumeCollectionNonEmpty()
|
D | PthreadLockChecker.cpp | 101 DefinedSVal retVal = X.castAs<DefinedSVal>(); in AcquireLock()
|
D | UnixAPIChecker.cpp | 118 DefinedSVal maskedFlags = maskedFlagsUC.castAs<DefinedSVal>(); in CheckOpen() 203 state->assume(argVal.castAs<DefinedSVal>()); in IsZeroByteAllocation()
|
D | StreamChecker.cpp | 213 DefinedSVal RetVal = svalBuilder.conjureSymbolVal(0, CE, LCtx, C.blockCount()) in OpenFileAux() 214 .castAs<DefinedSVal>(); in OpenFileAux() 340 Optional<DefinedSVal> DV = SV.getAs<DefinedSVal>(); in CheckNullStream()
|
D | ObjCAtSyncChecker.cpp | 63 llvm::tie(notNullState, nullState) = state->assume(V.castAs<DefinedSVal>()); in checkPreStmt()
|
D | MacOSKeychainAPIChecker.cpp | 425 if (State->assume(ArgSVal.castAs<DefinedSVal>(), false) && in checkPreStmt()
|
D | CStringChecker.cpp | 206 Optional<DefinedSVal> val = V.getAs<DefinedSVal>(); in REGISTER_MAP_WITH_PROGRAMSTATE()
|
D | MallocChecker.cpp | 757 DefinedSVal RetVal = svalBuilder.getConjuredHeapSymbolVal(CE, LCtx, Count) in MallocMemAux() 758 .castAs<DefinedSVal>(); in MallocMemAux()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ConstraintManager.cpp | 21 static DefinedSVal getLocFromSymbol(const ProgramStateRef &State, in getLocFromSymbol() 31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym) in checkNull()
|
D | SimpleConstraintManager.h | 36 ProgramStateRef assume(ProgramStateRef state, DefinedSVal Cond,
|
D | SValBuilder.cpp | 168 DefinedSVal SValBuilder::getMetadataSymbolVal(const void *symbolTag, in getMetadataSymbolVal() 199 DefinedSVal SValBuilder::getFunctionPointer(const FunctionDecl *func) { in getFunctionPointer() 203 DefinedSVal SValBuilder::getBlockPointer(const BlockDecl *block, in getBlockPointer()
|
D | BugReporterVisitors.cpp | 268 if (RValue.getAs<DefinedSVal>()) in visitNodeInitial() 786 SuppressInlineDefensiveChecksVisitor(DefinedSVal Value, const ExplodedNode *N) in SuppressInlineDefensiveChecksVisitor() 998 new TrackConstraintBRVisitor(V.castAs<DefinedSVal>(), false); in trackNullOrUndefValue() 1003 if (Optional<DefinedSVal> DV = V.getAs<DefinedSVal>()) { in trackNullOrUndefValue()
|
D | SimpleConstraintManager.cpp | 69 DefinedSVal Cond, in assume()
|
D | ExprEngineC.cpp | 888 DefinedSVal V2 = V2_untested.castAs<DefinedSVal>(); in VisitIncrementDecrementOperator()
|
D | ProgramState.cpp | 368 return CM.assume(this, inBound.castAs<DefinedSVal>(), Assumption); in assumeInBound()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SVals.h | 235 class DefinedSVal : public DefinedOrUnknownSVal { 243 DefinedSVal() {} in DefinedSVal() function 244 explicit DefinedSVal(const void *d, bool isLoc, unsigned ValKind) in DefinedSVal() function 262 KnownSVal(const DefinedSVal &V) : SVal(V) {} in KnownSVal() 266 class NonLoc : public DefinedSVal { 270 : DefinedSVal(d, false, SubKind) {} in NonLoc() 282 class Loc : public DefinedSVal { 286 : DefinedSVal(const_cast<void*>(D), true, SubKind) {} in Loc()
|
D | ConstraintManager.h | 68 DefinedSVal Cond, 75 ProgramStatePair assumeDual(ProgramStateRef State, DefinedSVal Cond) { in assumeDual()
|
D | SValBuilder.h | 196 DefinedSVal getMetadataSymbolVal( 200 DefinedSVal getFunctionPointer(const FunctionDecl *func); 202 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy, 255 DefinedSVal makeIntVal(uint64_t integer, QualType type) { in makeIntVal()
|
D | ProgramState.h | 641 ->assume(this, Cond.castAs<DefinedSVal>(), Assumption); in assume() 650 ->assumeDual(this, Cond.castAs<DefinedSVal>()); in assume()
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporterVisitor.h | 132 DefinedSVal Constraint; 142 TrackConstraintBRVisitor(DefinedSVal constraint, bool assumption) in TrackConstraintBRVisitor() 307 DefinedSVal V; 320 SuppressInlineDefensiveChecksVisitor(DefinedSVal Val, const ExplodedNode *N);
|