Home
last modified time | relevance | path

Searched refs:SValBuilder (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp30 void SValBuilder::anchor() { } in anchor()
32 DefinedOrUnknownSVal SValBuilder::makeZeroVal(QualType type) { in makeZeroVal()
44 NonLoc SValBuilder::makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op, in makeNonLoc()
54 NonLoc SValBuilder::makeNonLoc(const llvm::APSInt& lhs, in makeNonLoc()
62 NonLoc SValBuilder::makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op, in makeNonLoc()
69 NonLoc SValBuilder::makeNonLoc(const SymExpr *operand, in makeNonLoc()
76 SVal SValBuilder::convertToArrayIndex(SVal val) { in convertToArrayIndex()
90 nonloc::ConcreteInt SValBuilder::makeBoolVal(const CXXBoolLiteralExpr *boolean){ in makeBoolVal()
95 SValBuilder::getRegionValueSymbolVal(const TypedValueRegion* region) { in getRegionValueSymbolVal()
109 DefinedOrUnknownSVal SValBuilder::conjureSymbolVal(const void *symbolTag, in conjureSymbolVal()
[all …]
DCallEvent.cpp285 SValBuilder &SVB, in addParameterValuesToBindings()
327 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
497 SValBuilder &SVB = StateMgr.getSValBuilder(); in getInitialStackFrameContents()
574 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
598 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
890 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
941 SValBuilder &SVB = State->getStateManager().getSValBuilder(); in getCaller()
967 SValBuilder &SVB = State->getStateManager().getSValBuilder(); in getCaller()
DSVals.cpp187 SVal nonloc::ConcreteInt::evalBinOp(SValBuilder &svalBuilder, in evalBinOp()
200 nonloc::ConcreteInt::evalComplement(SValBuilder &svalBuilder) const { in evalComplement()
205 nonloc::ConcreteInt::evalMinus(SValBuilder &svalBuilder) const { in evalMinus()
DCMakeLists.txt34 SValBuilder.cpp
DAndroid.mk43 SValBuilder.cpp \
DMemRegion.cpp183 DefinedOrUnknownSVal TypedValueRegion::getExtent(SValBuilder &svalBuilder) const { in getExtent()
197 DefinedOrUnknownSVal FieldRegion::getExtent(SValBuilder &svalBuilder) const { in getExtent()
216 DefinedOrUnknownSVal AllocaRegion::getExtent(SValBuilder &svalBuilder) const { in getExtent()
220 DefinedOrUnknownSVal SymbolicRegion::getExtent(SValBuilder &svalBuilder) const { in getExtent()
224 DefinedOrUnknownSVal StringRegion::getExtent(SValBuilder &svalBuilder) const { in getExtent()
DSimpleSValBuilder.cpp22 class SimpleSValBuilder : public SValBuilder {
31 : SValBuilder(alloc, context, stateMgr) {} in SimpleSValBuilder()
52 SValBuilder *ento::createSimpleSValBuilder(llvm::BumpPtrAllocator &alloc, in createSimpleSValBuilder()
DEnvironment.cpp69 SValBuilder& svalBuilder) const { in getSVal()
DRegionStore.cpp606 SValBuilder &svalBuilder;
750 SValBuilder &SVB, const ClusterBindings &Cluster, in collectSubRegionBindings()
822 SValBuilder &SVB, const ClusterBindings &Cluster, in collectSubRegionBindings()
1276 getExistingLazyBinding(SValBuilder &SVB, RegionBindingsConstRef B, in getExistingLazyBinding()
1604 static Optional<SVal> getConstValue(SValBuilder &SVB, const VarDecl *VD) { in getConstValue()
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp60 SValBuilder &svalBuilder,
68 static SVal computeExtentBegin(SValBuilder &svalBuilder, in computeExtentBegin()
100 SValBuilder &svalBuilder = checkerContext.getSValBuilder(); in checkLocation()
236 static inline SVal getValue(SVal val, SValBuilder &svalBuilder) { in getValue()
244 SValBuilder &sb) { in scaleValue()
253 SValBuilder &svalBuilder) { in addValue()
267 SValBuilder &svalBuilder, in computeOffset()
DBuiltinFunctionChecker.cpp66 SValBuilder& svalBuilder = C.getSValBuilder(); in evalCall()
DCastSizeChecker.cpp56 SValBuilder &svalBuilder = C.getSValBuilder(); in checkPreStmt()
DCStringChecker.cpp208 SValBuilder &svalBuilder = C.getSValBuilder(); in REGISTER_MAP_WITH_PROGRAMSTATE()
278 SValBuilder &svalBuilder = C.getSValBuilder(); in CheckLocation()
341 SValBuilder &svalBuilder = C.getSValBuilder(); in CheckBufferAccess()
438 SValBuilder &svalBuilder = C.getSValBuilder(); in CheckOverlap()
550 SValBuilder &svalBuilder = C.getSValBuilder(); in checkAdditionOverflow()
664 SValBuilder &svalBuilder = C.getSValBuilder(); in getCStringLengthForRegion()
723 SValBuilder &svalBuilder = C.getSValBuilder(); in getCStringLength()
1025 SValBuilder &svalBuilder = C.getSValBuilder(); in evalMemcmp()
1307 SValBuilder &svalBuilder = C.getSValBuilder(); in evalStrcpyCommon()
1669 SValBuilder &svalBuilder = C.getSValBuilder(); in evalStrcmpCommon()
DBoolAssignmentChecker.cpp80 SValBuilder &svalBuilder = C.getSValBuilder(); in checkBind()
DMacOSKeychainAPIChecker.cpp112 SValBuilder &Builder,
118 SValBuilder &Builder) const { in definitelyDidnotReturnError()
237 SValBuilder &Builder, in definitelyReturnedError()
DVLASizeChecker.cpp131 SValBuilder &svalBuilder = C.getSValBuilder(); in checkPreStmt()
DMallocChecker.cpp577 SValBuilder &svalBuilder = C.getSValBuilder(); in MallocMemAux()
597 SValBuilder &svalBuilder = C.getSValBuilder(); in MallocMemAux()
1005 SValBuilder &svalBuilder = C.getSValBuilder(); in ReallocMem()
1098 SValBuilder &svalBuilder = C.getSValBuilder(); in CallocMem()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSVals.h39 class SValBuilder; variable
340 SVal evalBinOp(SValBuilder &svalBuilder, BinaryOperator::Opcode Op,
343 ConcreteInt evalComplement(SValBuilder &svalBuilder) const;
345 ConcreteInt evalMinus(SValBuilder &svalBuilder) const;
361 friend class ento::SValBuilder;
403 friend class ento::SValBuilder;
429 friend class ento::SValBuilder;
DEnvironment.h28 class SValBuilder; variable
77 SVal getSVal(const EnvironmentEntry &E, SValBuilder &svalBuilder) const;
DSValBuilder.h31 class SValBuilder {
62 SValBuilder(llvm::BumpPtrAllocator &alloc, ASTContext &context, in SValBuilder() function
71 virtual ~SValBuilder() {} in ~SValBuilder()
317 SValBuilder* createSimpleSValBuilder(llvm::BumpPtrAllocator &alloc,
DMemRegion.h42 class SValBuilder; variable
414 virtual DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const { in getExtent()
449 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const;
509 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const;
710 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const;
746 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const;
925 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const;
DCheckerContext.h161 SValBuilder &getSValBuilder() { in getSValBuilder()
DExprEngine.h76 SValBuilder &svalBuilder;
132 SValBuilder &getSValBuilder() { return svalBuilder; } in getSValBuilder()
DStore.h42 SValBuilder &svalBuilder;
DProgramState.h453 OwningPtr<SValBuilder> svalBuilder;
482 SValBuilder &getSValBuilder() { in getSValBuilder()

12