2020-12-30 13:35:48 +00:00
|
|
|
{"auxiliaryInputRequested":{"smtlib2queries":{"0x890f1520a8ee68790fd3c13ddbc70536dc8afcff539c4da1a1766da6168e497e":"(set-option :produce-models true)
|
2020-10-14 15:44:40 +00:00
|
|
|
(set-logic ALL)
|
|
|
|
(declare-fun |error_0| () Int)
|
|
|
|
(declare-fun |this_0| () Int)
|
|
|
|
(declare-datatypes ((|state_type| 0)) (((|state_type| (|balances| (Array Int Int))))))
|
|
|
|
(declare-fun |state_0| () |state_type|)
|
|
|
|
(declare-datatypes ((|bytes_tuple| 0)) (((|bytes_tuple| (|bytes_tuple_accessor_array| (Array Int Int)) (|bytes_tuple_accessor_length| Int)))))
|
2020-12-29 10:53:35 +00:00
|
|
|
(declare-datatypes ((|tx_type| 0)) (((|tx_type| (|block.chainid| Int) (|block.coinbase| Int) (|block.difficulty| Int) (|block.gaslimit| Int) (|block.number| Int) (|block.timestamp| Int) (|blockhash| (Array Int Int)) (|msg.data| |bytes_tuple|) (|msg.sender| Int) (|msg.sig| Int) (|msg.value| Int) (|tx.gasprice| Int) (|tx.origin| Int)))))
|
2020-10-14 15:44:40 +00:00
|
|
|
(declare-fun |tx_0| () |tx_type|)
|
2020-10-16 16:58:45 +00:00
|
|
|
(declare-datatypes ((|ecrecover_input_type| 0)) (((|ecrecover_input_type| (|hash| Int) (|v| Int) (|r| Int) (|s| Int)))))
|
|
|
|
(declare-datatypes ((|crypto_type| 0)) (((|crypto_type| (|ecrecover| (Array |ecrecover_input_type| Int)) (|keccak256| (Array |bytes_tuple| Int)) (|ripemd160| (Array |bytes_tuple| Int)) (|sha256| (Array |bytes_tuple| Int))))))
|
|
|
|
(declare-fun |crypto_0| () |crypto_type|)
|
2020-12-10 13:06:34 +00:00
|
|
|
(declare-datatypes ((|abi_type| 0)) (((|abi_type|))))
|
|
|
|
(declare-fun |abi_0| () |abi_type|)
|
2020-10-14 15:44:40 +00:00
|
|
|
(declare-fun |x_4_0| () Int)
|
|
|
|
(declare-fun |expr_8_0| () Int)
|
|
|
|
(declare-fun |expr_9_0| () Int)
|
|
|
|
(declare-fun |expr_10_1| () Bool)
|
|
|
|
|
2020-12-30 13:35:48 +00:00
|
|
|
(assert (and (and (and true true) (and (= expr_10_1 (> expr_8_0 expr_9_0)) (and (implies (and true true) true) (and (= expr_9_0 0) (and (implies (and true true) (and (>= expr_8_0 0) (<= expr_8_0 115792089237316195423570985008687907853269984665640564039457584007913129639935))) (and (= expr_8_0 x_4_0) (and (and (>= x_4_0 0) (<= x_4_0 115792089237316195423570985008687907853269984665640564039457584007913129639935)) (and (and (and (and (and (and (and (and (and (and (and (and (>= (|block.chainid| tx_0) 0) (<= (|block.chainid| tx_0) 115792089237316195423570985008687907853269984665640564039457584007913129639935)) (and (>= (|block.coinbase| tx_0) 0) (<= (|block.coinbase| tx_0) 1461501637330902918203684832716283019655932542975))) (and (>= (|block.difficulty| tx_0) 0) (<= (|block.difficulty| tx_0) 115792089237316195423570985008687907853269984665640564039457584007913129639935))) (and (>= (|block.gaslimit| tx_0) 0) (<= (|block.gaslimit| tx_0) 115792089237316195423570985008687907853269984665640564039457584007913129639935))) (and (>= (|block.number| tx_0) 0) (<= (|block.number| tx_0) 115792089237316195423570985008687907853269984665640564039457584007913129639935))) (and (>= (|block.timestamp| tx_0) 0) (<= (|block.timestamp| tx_0) 115792089237316195423570985008687907853269984665640564039457584007913129639935))) (and (>= (|msg.sender| tx_0) 0) (<= (|msg.sender| tx_0) 1461501637330902918203684832716283019655932542975))) (and (>= (|msg.value| tx_0) 0) (<= (|msg.value| tx_0) 115792089237316195423570985008687907853269984665640564039457584007913129639935))) (and (>= (|tx.origin| tx_0) 0) (<= (|tx.origin| tx_0) 1461501637330902918203684832716283019655932542975))) (and (>= (|tx.gasprice| tx_0) 0) (<= (|tx.gasprice| tx_0) 115792089237316195423570985008687907853269984665640564039457584007913129639935))) (and (and (and (and (and (and (= (|msg.value| tx_0) 0) (= (|msg.sig| tx_0) 3017696395)) (= (select (|bytes_tuple_accessor_array| (|msg.data| tx_0)) 0) 179)) (= (select (|bytes_tuple_accessor_array| (|msg.data| tx_0)) 1) 222)) (= (select (|bytes_tuple_accessor_array| (|msg.data| tx_0)) 2) 100)) (= (select (|bytes_tuple_accessor_array| (|msg.data| tx_0)) 3) 139)) (>= (|bytes_tuple_accessor_length| (|msg.data| tx_0)) 4))) true)))))))) (not expr_10_1)))
|
2020-10-14 15:44:40 +00:00
|
|
|
(declare-const |EVALEXPR_0| Int)
|
|
|
|
(assert (= |EVALEXPR_0| x_4_0))
|
|
|
|
(check-sat)
|
|
|
|
(get-value (|EVALEXPR_0| ))
|
2020-12-01 13:46:26 +00:00
|
|
|
"}},"errors":[{"component":"general","errorCode":"4661","formattedMessage":"Warning: BMC: Assertion violation happens here.
|
|
|
|
--> A:4:47:
|
|
|
|
|
|
|
|
|
4 | contract C { function f(uint x) public pure { assert(x > 0); } }
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
Note: Counterexample:
|
2020-10-14 15:44:40 +00:00
|
|
|
x = 0
|
|
|
|
|
2020-12-01 13:46:26 +00:00
|
|
|
Note: Callstack:
|
|
|
|
Note:
|
2020-10-14 15:44:40 +00:00
|
|
|
|
|
|
|
","message":"BMC: Assertion violation happens here.","secondarySourceLocations":[{"message":"Counterexample:
|
|
|
|
x = 0
|
|
|
|
"},{"message":"Callstack:"},{"message":""}],"severity":"warning","sourceLocation":{"end":150,"file":"A","start":137},"type":"Warning"}],"sources":{"A":{"id":0}}}
|