[SMTChecker] Add a new trusted mode which assumes that code that is

available at compile time is trusted.
This commit is contained in:
Leo Alt
2023-02-06 17:02:33 +01:00
parent f2bf23a067
commit 8d91ccf028
135 changed files with 3156 additions and 235 deletions
+2
View File
@@ -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},