aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SymbolicBoolVariable.h
diff options
context:
space:
mode:
authorLeonardo Alt <leonardoaltt@gmail.com>2018-04-05 18:20:41 +0800
committerLeonardo Alt <leonardoaltt@gmail.com>2018-04-05 18:48:58 +0800
commit8d087d1889826271a78ce537b8d1a2ceb11574dd (patch)
tree456d80737dc8a6e1b2b0152363733dbd2107f29a /libsolidity/formal/SymbolicBoolVariable.h
parent36d6c27e6826f173b491a7a536a3755609edaa29 (diff)
downloaddexon-solidity-8d087d1889826271a78ce537b8d1a2ceb11574dd.tar
dexon-solidity-8d087d1889826271a78ce537b8d1a2ceb11574dd.tar.gz
dexon-solidity-8d087d1889826271a78ce537b8d1a2ceb11574dd.tar.bz2
dexon-solidity-8d087d1889826271a78ce537b8d1a2ceb11574dd.tar.lz
dexon-solidity-8d087d1889826271a78ce537b8d1a2ceb11574dd.tar.xz
dexon-solidity-8d087d1889826271a78ce537b8d1a2ceb11574dd.tar.zst
dexon-solidity-8d087d1889826271a78ce537b8d1a2ceb11574dd.zip
[SMTChecker] Removing usage of UFs to access SSA indices
Diffstat (limited to 'libsolidity/formal/SymbolicBoolVariable.h')
-rw-r--r--libsolidity/formal/SymbolicBoolVariable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/formal/SymbolicBoolVariable.h b/libsolidity/formal/SymbolicBoolVariable.h
index 3510b770..678f97d9 100644
--- a/libsolidity/formal/SymbolicBoolVariable.h
+++ b/libsolidity/formal/SymbolicBoolVariable.h
@@ -41,6 +41,9 @@ public:
void setZeroValue(int _seq);
/// Does nothing since the SMT solver already knows the valid values.
void setUnknownValue(int _seq);
+
+protected:
+ smt::Expression valueAtSequence(int _seq) const;
};
}