Don't erase things for BMC if function call is staticcall

This commit is contained in:
Leo Alt
2021-08-25 14:09:46 +02:00
parent a55685c04f
commit 718f392849
5 changed files with 55 additions and 0 deletions
+5
View File
@@ -587,6 +587,11 @@ void BMC::internalOrExternalFunctionCall(FunctionCall const& _funCall)
_funCall.location(),
"BMC does not yet implement this type of function call."
);
else if (funType.kind() == FunctionType::Kind::BareStaticCall)
{
// Do nothing here.
// Neither storage nor balances should be modified.
}
else
{
m_externalFunctionCallHappened = true;