aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SymbolicVariable.h
diff options
context:
space:
mode:
authorLeonardo Alt <leonardoaltt@gmail.com>2018-02-17 16:35:37 +0800
committerLeonardo Alt <leonardoaltt@gmail.com>2018-03-01 01:05:20 +0800
commit21c6b80fc98f6d584f240a47d4a01827768f18f3 (patch)
treebdd168818053f5d983fb57bcef9c36f2738541cb /libsolidity/formal/SymbolicVariable.h
parent3b2851ee4163bcfbca9e4e23650dfeee1a06653a (diff)
downloaddexon-solidity-21c6b80fc98f6d584f240a47d4a01827768f18f3.tar.gz
dexon-solidity-21c6b80fc98f6d584f240a47d4a01827768f18f3.tar.zst
dexon-solidity-21c6b80fc98f6d584f240a47d4a01827768f18f3.zip
Supported types listed in SSAVariable
Diffstat (limited to 'libsolidity/formal/SymbolicVariable.h')
-rw-r--r--libsolidity/formal/SymbolicVariable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/formal/SymbolicVariable.h b/libsolidity/formal/SymbolicVariable.h
index 4de59504..66633b73 100644
--- a/libsolidity/formal/SymbolicVariable.h
+++ b/libsolidity/formal/SymbolicVariable.h
@@ -50,7 +50,10 @@ public:
std::string uniqueSymbol() const;
+ /// Sets the var to the default value of its type.
virtual void setZeroValue(int _seq) = 0;
+ /// The unknown value depends on the type. For example, an interval is set for Integers.
+ /// This is decided by the subclasses.
virtual void setUnknownValue(int _seq) = 0;
protected: