13#ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_SIMPLECONSTRAINTMANAGER_H
14#define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_SIMPLECONSTRAINTMANAGER_H
29 : EE(exprengine), SVB(SB) {}
53 const llvm::APSInt &From,
54 const llvm::APSInt &To,
70 bool Assumption)
override;
74 const llvm::APSInt &From,
75 const llvm::APSInt &To,
76 bool InRange)
override;
BasicValueFactory & getBasicValueFactory()
SymbolManager & getSymbolManager()
SymbolManager & getSymbolManager() const
ProgramStateRef assumeInclusiveRangeInternal(ProgramStateRef State, NonLoc Value, const llvm::APSInt &From, const llvm::APSInt &To, bool InRange) override
SValBuilder & getSValBuilder() const
virtual ProgramStateRef assumeSym(ProgramStateRef State, SymbolRef Sym, bool Assumption)=0
Given a symbolic expression that can be reasoned about, assume that it is true/false and generate the...
~SimpleConstraintManager() override
virtual ProgramStateRef assumeSymUnsupported(ProgramStateRef State, SymbolRef Sym, bool Assumption)=0
Given a symbolic expression that cannot be reasoned about, assume that it is zero/nonzero and add it ...
BasicValueFactory & getBasicVals() const
virtual ProgramStateRef assumeSymInclusiveRange(ProgramStateRef State, SymbolRef Sym, const llvm::APSInt &From, const llvm::APSInt &To, bool InRange)=0
Given a symbolic expression within the range [From, To], assume that it is true/false and generate th...
ProgramStateRef assumeInternal(ProgramStateRef State, DefinedSVal Cond, bool Assumption) override
Ensures that the DefinedSVal conditional is expressed as a NonLoc by creating boolean casts to handle...
SimpleConstraintManager(ExprEngine *exprengine, SValBuilder &SB)
The JSON file list parser is used to communicate input to InstallAPI.