/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 | 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 | BasicObjCFoundationChecks.cpp | 421 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>(); in checkPreStmt() 427 DefinedSVal zero = in checkPreStmt() 428 svalBuilder.makeZeroVal(Arg->getType()).castAs<DefinedSVal>(); in checkPreStmt()
|
D | MacOSKeychainAPIChecker.cpp | 424 if (State->assume(ArgSVal.castAs<DefinedSVal>(), false) && in checkPreStmt()
|
D | MallocChecker.cpp | 579 DefinedSVal RetVal = svalBuilder.getConjuredHeapSymbolVal(CE, LCtx, Count) in MallocMemAux() 580 .castAs<DefinedSVal>(); in MallocMemAux()
|
D | CStringChecker.cpp | 204 Optional<DefinedSVal> val = V.getAs<DefinedSVal>(); in REGISTER_MAP_WITH_PROGRAMSTATE()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SVals.h | 227 class DefinedSVal : public DefinedOrUnknownSVal { 235 DefinedSVal() {} in DefinedSVal() function 236 explicit DefinedSVal(const void *d, bool isLoc, unsigned ValKind) in DefinedSVal() function 254 KnownSVal(const DefinedSVal &V) : SVal(V) {} in KnownSVal() 258 class NonLoc : public DefinedSVal { 262 : DefinedSVal(d, false, SubKind) {} in NonLoc() 274 class Loc : public DefinedSVal { 278 : 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 | 195 DefinedSVal getMetadataSymbolVal( 199 DefinedSVal getFunctionPointer(const FunctionDecl *func); 201 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy, 248 DefinedSVal makeIntVal(uint64_t integer, QualType type) { in makeIntVal()
|
D | ProgramState.h | 636 ->assume(this, Cond.castAs<DefinedSVal>(), Assumption); in assume() 645 ->assumeDual(this, Cond.castAs<DefinedSVal>()); in assume()
|
/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 | SValBuilder.cpp | 161 DefinedSVal SValBuilder::getMetadataSymbolVal(const void *symbolTag, in getMetadataSymbolVal() 192 DefinedSVal SValBuilder::getFunctionPointer(const FunctionDecl *func) { in getFunctionPointer() 196 DefinedSVal SValBuilder::getBlockPointer(const BlockDecl *block, in getBlockPointer()
|
D | SimpleConstraintManager.h | 36 ProgramStateRef assume(ProgramStateRef state, DefinedSVal Cond,
|
D | BugReporterVisitors.cpp | 259 if (RValue.getAs<DefinedSVal>()) in visitNodeInitial() 273 if (State->assume(V.castAs<DefinedSVal>(), true)) { in visitNodeInitial() 702 SuppressInlineDefensiveChecksVisitor(DefinedSVal Value, const ExplodedNode *N) in SuppressInlineDefensiveChecksVisitor() 906 new TrackConstraintBRVisitor(V.castAs<DefinedSVal>(), false); in trackNullOrUndefValue() 912 new SuppressInlineDefensiveChecksVisitor(V.castAs<DefinedSVal>(), in trackNullOrUndefValue()
|
D | SimpleConstraintManager.cpp | 59 DefinedSVal Cond, in assume()
|
D | ExprEngineC.cpp | 879 DefinedSVal V2 = V2_untested.castAs<DefinedSVal>(); in VisitIncrementDecrementOperator()
|
D | ProgramState.cpp | 324 return CM.assume(this, inBound.castAs<DefinedSVal>(), Assumption); in assumeInBound()
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporterVisitor.h | 131 DefinedSVal Constraint; 136 TrackConstraintBRVisitor(DefinedSVal constraint, bool assumption) in TrackConstraintBRVisitor() 288 DefinedSVal V; 301 SuppressInlineDefensiveChecksVisitor(DefinedSVal Val, const ExplodedNode *N);
|