Home
last modified time | relevance | path

Searched refs:getAsSymbol (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DTestAfterDivZeroChecker.cpp120 if (ZeroSymbol == S.getAsSymbol() && SFC == Succ->getStackFrame()) { in REGISTER_SET_WITH_PROGRAMSTATE()
149 SymbolRef SR = Var.getAsSymbol(); in setDivZeroMap()
161 SymbolRef SR = Var.getAsSymbol(); in hasDivZeroMap()
179 R->addVisitor(llvm::make_unique<DivisionBRVisitor>(Val.getAsSymbol(), in reportBug()
DObjCContainersChecker.cpp42 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in getArraySym()
71 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in REGISTER_MAP_WITH_PROGRAMSTATE()
DObjCSelfInitChecker.cpp108 if (SymbolRef sym = val.getAsSymbol()) in REGISTER_MAP_WITH_PROGRAMSTATE()
121 if (SymbolRef sym = val.getAsSymbol()) { in addSelfFlag()
333 if (SymbolRef sym = loc.getAsSymbol()) in checkBind()
DSimpleStreamChecker.cpp131 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); in checkPostCall()
155 SymbolRef FileDesc = Call.getArgSVal(0).getAsSymbol(); in checkPreCall()
DNSErrorChecker.cpp175 if (SymbolRef sym = val.getAsSymbol()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
184 if (SymbolRef sym = val.getAsSymbol()) in setFlag()
DMallocChecker.cpp953 if (SymbolRef Sym = C.getSVal(*I).getAsSymbol()) in checkPostStmt()
978 if (SymbolRef Sym = C.getSVal(DE->getArgument()).getAsSymbol()) in checkPreStmt()
1430 SymbolRef RetStatusSymbol = RetVal.getAsSymbol(); in FreeMemAux()
1936 SymbolRef FromPtr = arg0Val.getAsSymbol(); in ReallocMem()
1938 SymbolRef ToPtr = RetVal.getAsSymbol(); in ReallocMem()
2167 SymbolRef Sym = DC->getCXXThisVal().getAsSymbol(); in checkPreCall()
2192 SymbolRef Sym = CC->getCXXThisVal().getAsSymbol(); in checkPreCall()
2201 SymbolRef Sym = ArgSVal.getAsSymbol(); in checkPreCall()
2218 SymbolRef Sym = RetVal.getAsSymbol(); in checkPreStmt()
2417 EscapingSymbol = Msg->getReceiverSVal().getAsSymbol(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
DBasicObjCFoundationChecks.cpp982 State->getSVal(FCS->getCollection(), C.getLocationContext()).getAsSymbol(); in assumeCollectionNonEmpty()
1064 SymbolRef ContainerS = M.getReceiverSVal().getAsSymbol(); in checkPostObjCMessage()
1074 SymbolRef CountS = C.getSVal(MsgExpr).getAsSymbol(); in checkPostObjCMessage()
1126 return Message->getReceiverSVal().getAsSymbol(); in getMethodReceiverIfKnownImmutable()
DStreamChecker.cpp226 if (SymbolRef Sym = RetVal.getAsSymbol()) { in OpenFileAux()
369 state->getSVal(CE->getArg(0), C.getLocationContext()).getAsSymbol(); in CheckDoubleClose()
DRetainCountChecker.cpp2241 if (ME->getMethodFamily() == OMF_init && RecV.getAsSymbol() == Sym) in GetAllocationSite()
2764 if (SymbolRef sym = V.getAsSymbol()) in processObjCLiterals()
2778 state->getSVal(Ex, pred->getLocationContext()).getAsSymbol()) { in processObjCLiterals()
2805 if (SymbolRef Sym = State->getSVal(Ex, LCtx).getAsSymbol()) { in checkPostStmt()
2829 SymbolRef Sym = State->getSVal(*IVarLoc).getAsSymbol(); in checkPostStmt()
2946 SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol(); in processSummaryOfInlined()
3025 SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol(); in checkSummary()
3043 SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol(); in checkSummary()
DMacOSKeychainAPIChecker.cpp486 State->getSVal(CE, C.getLocationContext()).getAsSymbol(); in checkPostStmt()
DGenericTaintChecker.cpp441 return Val.getAsSymbol(); in getPointedToSymbol()
DCStringChecker.cpp2066 if (SymbolRef Sym = Len.getAsSymbol()) { in checkDeadSymbols()
/external/clang/lib/StaticAnalyzer/Core/
DSVals.cpp111 SymbolRef SVal::getAsSymbol(bool IncludeBaseRegion) const { in getAsSymbol() function in SVal
125 return getAsSymbol(); in getAsSymbolicExpression()
129 const SymExpr* Sym = getAsSymbol(); in getAsSymExpr()
DProgramState.cpp259 if (SymbolRef sym = V.getAsSymbol()) { in getSVal()
357 SymbolRef Sym = V.getAsSymbol(/* IncludeBaseRegion */ true); in isNull()
570 if (SymbolRef Sym = val.getAsSymbol()) in scan()
657 SymbolRef Sym = getSVal(S, LCtx).getAsSymbol(); in addTaint()
DRegionStore.cpp970 if (SymbolRef Sym = V.getAsSymbol()) in VisitBinding()
1536 if (SymbolRef parentSym = V->getAsSymbol()) in getBindingForElement()
1571 if (SymbolRef parentSym = val.getAsSymbol()) in getBindingForDerivedDefaultValue()
1715 if (SymbolRef parentSym = V->getAsSymbol()) in getBindingForObjCIvar()
DSValBuilder.cpp414 if (SymbolRef Sym = val.getAsSymbol(true)) { in evalCast()
DSimpleSValBuilder.cpp939 if (SymbolRef Sym = V.getAsSymbol()) in getKnownValue()
DBugReporter.cpp2621 markInteresting(V.getAsSymbol()); in markInteresting()
2631 return isInteresting(V.getAsRegion()) || isInteresting(V.getAsSymbol()); in isInteresting()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSVals.h164 SymbolRef getAsSymbol(bool IncludeBaseRegions = false) const;