14 #ifndef LLVM_CLANG_LIB_STATICANALYZER_CORE_SIMPLECONSTRAINTMANAGER_H
15 #define LLVM_CLANG_LIB_STATICANALYZER_CORE_SIMPLECONSTRAINTMANAGER_H
29 : SU(subengine), SVB(SB) {}
37 bool Assumption)
override;
44 const llvm::APSInt& Int);
55 const llvm::APSInt& V,
56 const llvm::APSInt& Adjustment) = 0;
59 const llvm::APSInt& V,
60 const llvm::APSInt& Adjustment) = 0;
63 const llvm::APSInt& V,
64 const llvm::APSInt& Adjustment) = 0;
67 const llvm::APSInt& V,
68 const llvm::APSInt& Adjustment) = 0;
71 const llvm::APSInt& V,
72 const llvm::APSInt& Adjustment) = 0;
75 const llvm::APSInt& V,
76 const llvm::APSInt& Adjustment) = 0;
SymbolManager & getSymbolManager()
virtual ProgramStateRef assumeSymNE(ProgramStateRef state, SymbolRef sym, const llvm::APSInt &V, const llvm::APSInt &Adjustment)=0
Symbolic value. These values used to capture symbolic execution of the program.
virtual ProgramStateRef assumeSymGT(ProgramStateRef state, SymbolRef sym, const llvm::APSInt &V, const llvm::APSInt &Adjustment)=0
~SimpleConstraintManager() override
SimpleConstraintManager(SubEngine *subengine, SValBuilder &SB)
virtual ProgramStateRef assumeSymGE(ProgramStateRef state, SymbolRef sym, const llvm::APSInt &V, const llvm::APSInt &Adjustment)=0
virtual ProgramStateRef assumeSymEQ(ProgramStateRef state, SymbolRef sym, const llvm::APSInt &V, const llvm::APSInt &Adjustment)=0
virtual ProgramStateRef assumeSymLE(ProgramStateRef state, SymbolRef sym, const llvm::APSInt &V, const llvm::APSInt &Adjustment)=0
SymbolManager & getSymbolManager() const
ProgramStateRef assumeSymRel(ProgramStateRef state, const SymExpr *LHS, BinaryOperator::Opcode op, const llvm::APSInt &Int)
ProgramStateRef assumeAux(ProgramStateRef state, NonLoc Cond, bool Assumption)
ProgramStateRef assume(ProgramStateRef state, DefinedSVal Cond, bool Assumption) override
ProgramStateRef assumeAuxForSymbol(ProgramStateRef State, SymbolRef Sym, bool Assumption)
BasicValueFactory & getBasicValueFactory()
bool canReasonAbout(SVal X) const override
virtual ProgramStateRef assumeSymLT(ProgramStateRef state, SymbolRef sym, const llvm::APSInt &V, const llvm::APSInt &Adjustment)=0
BasicValueFactory & getBasicVals() const