mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Add a new trusted mode which assumes that code that is
available at compile time is trusted.
This commit is contained in:
@@ -145,6 +145,7 @@ BOOST_AUTO_TEST_CASE(cli_mode_options)
|
||||
"--model-checker-contracts=contract1.yul:A,contract2.yul:B",
|
||||
"--model-checker-div-mod-no-slacks",
|
||||
"--model-checker-engine=bmc",
|
||||
"--model-checker-ext-calls=trusted",
|
||||
"--model-checker-invariants=contract,reentrancy",
|
||||
"--model-checker-show-unproved",
|
||||
"--model-checker-solvers=z3,smtlib2",
|
||||
@@ -211,6 +212,7 @@ BOOST_AUTO_TEST_CASE(cli_mode_options)
|
||||
{{{"contract1.yul", {"A"}}, {"contract2.yul", {"B"}}}},
|
||||
true,
|
||||
{true, false},
|
||||
{ModelCheckerExtCalls::Mode::TRUSTED},
|
||||
{{InvariantType::Contract, InvariantType::Reentrancy}},
|
||||
true,
|
||||
{false, false, true, true},
|
||||
|
||||
Reference in New Issue
Block a user