diff options
Diffstat (limited to 'libsolidity/formal/SymbolicTypes.h')
-rw-r--r-- | libsolidity/formal/SymbolicTypes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libsolidity/formal/SymbolicTypes.h b/libsolidity/formal/SymbolicTypes.h index f9df6853..77822fed 100644 --- a/libsolidity/formal/SymbolicTypes.h +++ b/libsolidity/formal/SymbolicTypes.h @@ -36,10 +36,19 @@ bool isSupportedType(Type const& _type); bool isInteger(Type::Category _category); bool isInteger(Type const& _type); +bool isAddress(Type::Category _category); +bool isAddress(Type const& _type); + +bool isNumber(Type::Category _category); +bool isNumber(Type const& _type); + bool isBool(Type::Category _category); bool isBool(Type const& _type); std::shared_ptr<SymbolicVariable> newSymbolicVariable(Type const& _type, std::string const& _uniqueName, smt::SolverInterface& _solver); +smt::Expression minValue(IntegerType const& _type); +smt::Expression maxValue(IntegerType const& _type); + } } |