Home
last modified time | relevance | path

Searched refs:SValBuilder (Results 1 – 25 of 36) 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()
112 DefinedOrUnknownSVal SValBuilder::conjureSymbolVal(const void *SymbolTag, in conjureSymbolVal()
[all …]
DCallEvent.cpp305 SValBuilder &SVB, in addParameterValuesToBindings()
340 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
531 SValBuilder &SVB = StateMgr.getSValBuilder(); in getInitialStackFrameContents()
601 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
642 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
945 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
996 SValBuilder &SVB = State->getStateManager().getSValBuilder(); in getCaller()
1022 SValBuilder &SVB = State->getStateManager().getSValBuilder(); in getCaller()
DSimpleConstraintManager.h26 SValBuilder &SVB;
28 SimpleConstraintManager(SubEngine *subengine, SValBuilder &SB) in SimpleConstraintManager()
DSVals.cpp195 SVal nonloc::ConcreteInt::evalBinOp(SValBuilder &svalBuilder, in evalBinOp()
208 nonloc::ConcreteInt::evalComplement(SValBuilder &svalBuilder) const { in evalComplement()
213 nonloc::ConcreteInt::evalMinus(SValBuilder &svalBuilder) const { in evalMinus()
DCMakeLists.txt38 SValBuilder.cpp
DAndroid.mk52 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()
DEnvironment.cpp70 SValBuilder& svalBuilder) const { in getSVal()
DSimpleSValBuilder.cpp22 class SimpleSValBuilder : public SValBuilder {
31 : SValBuilder(alloc, context, stateMgr) {} in SimpleSValBuilder()
52 SValBuilder *ento::createSimpleSValBuilder(llvm::BumpPtrAllocator &alloc, in createSimpleSValBuilder()
DSimpleConstraintManager.cpp73 SValBuilder &SVB = state->getStateManager().getSValBuilder(); in assume()
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp60 SValBuilder &svalBuilder,
68 static SVal computeExtentBegin(SValBuilder &svalBuilder, in computeExtentBegin()
100 SValBuilder &svalBuilder = checkerContext.getSValBuilder(); in checkLocation()
226 static inline SVal getValue(SVal val, SValBuilder &svalBuilder) { in getValue()
234 SValBuilder &sb) { in scaleValue()
243 SValBuilder &svalBuilder) { in addValue()
257 SValBuilder &svalBuilder, in computeOffset()
DBuiltinFunctionChecker.cpp70 SValBuilder& svalBuilder = C.getSValBuilder(); in evalCall()
88 SValBuilder &SVB = C.getSValBuilder(); in evalCall()
DCStringChecker.cpp222 SValBuilder &svalBuilder = C.getSValBuilder(); in REGISTER_MAP_WITH_PROGRAMSTATE()
293 SValBuilder &svalBuilder = C.getSValBuilder(); in CheckLocation()
357 SValBuilder &svalBuilder = C.getSValBuilder(); in CheckBufferAccess()
454 SValBuilder &svalBuilder = C.getSValBuilder(); in CheckOverlap()
566 SValBuilder &svalBuilder = C.getSValBuilder(); in checkAdditionOverflow()
681 SValBuilder &svalBuilder = C.getSValBuilder(); in getCStringLengthForRegion()
753 SValBuilder &svalBuilder = C.getSValBuilder(); in getCStringLength()
835 SValBuilder &svalBuilder = C.getSValBuilder(); in IsFirstBufInBound()
1053 SValBuilder &SvalBuilder = C.getSValBuilder(); in evalCopyCommon()
1155 SValBuilder &svalBuilder = C.getSValBuilder(); in evalMemcmp()
[all …]
DBoolAssignmentChecker.cpp80 SValBuilder &svalBuilder = C.getSValBuilder(); in checkBind()
DMacOSKeychainAPIChecker.cpp112 SValBuilder &Builder,
118 SValBuilder &Builder) const { in definitelyDidnotReturnError()
236 SValBuilder &Builder, in definitelyReturnedError()
DCastSizeChecker.cpp115 SValBuilder &svalBuilder = C.getSValBuilder(); in checkPreStmt()
DVLASizeChecker.cpp135 SValBuilder &svalBuilder = C.getSValBuilder(); in checkPreStmt()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSVals.h39 class SValBuilder; variable
348 SVal evalBinOp(SValBuilder &svalBuilder, BinaryOperator::Opcode Op,
351 ConcreteInt evalComplement(SValBuilder &svalBuilder) const;
353 ConcreteInt evalMinus(SValBuilder &svalBuilder) const;
369 friend class ento::SValBuilder;
411 friend class ento::SValBuilder;
437 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()
325 SValBuilder* createSimpleSValBuilder(llvm::BumpPtrAllocator &alloc,
DMemRegion.h40 class SValBuilder; variable
426 virtual DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const { in getExtent()
461 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const override;
521 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const override;
725 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const override;
761 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const override;
941 DefinedOrUnknownSVal getExtent(SValBuilder &svalBuilder) const override;
DCheckerContext.h157 SValBuilder &getSValBuilder() { in getSValBuilder()
DExprEngine.h75 SValBuilder &svalBuilder;
131 SValBuilder &getSValBuilder() { return svalBuilder; } in getSValBuilder()
DStore.h42 SValBuilder &svalBuilder;
DProgramState.h465 std::unique_ptr<SValBuilder> svalBuilder;
494 SValBuilder &getSValBuilder() { in getSValBuilder()

12