[SMTChecker] Use SymbolicFunctionVariable for uninterpreted functions

This commit is contained in:
Leonardo Alt
2018-12-11 11:28:25 +01:00
parent baaefb4b42
commit 08737e43dc
11 changed files with 172 additions and 106 deletions
@@ -12,3 +12,4 @@ contract C
}
// ----
// Warning: (153-156): Assertion checker does not yet implement tuples and inline arrays.
@@ -12,4 +12,5 @@ contract C
}
// ----
// Warning: (153-156): Assertion checker does not yet implement tuples and inline arrays.
// Warning: (163-176): Assertion violation happens here
@@ -8,7 +8,6 @@ contract C
}
// ----
// Warning: (86-101): Assertion checker does not yet support this expression.
// Warning: (86-94): Assertion checker does not yet support this special variable.
// Warning: (86-94): Assertion checker does not yet implement this type.
// Warning: (86-94): Assertion checker does not yet support this global variable.
// Warning: (86-101): Internal error: Expression undefined for SMT solver.
// Warning: (79-106): Assertion violation happens here
@@ -0,0 +1,16 @@
pragma experimental SMTChecker;
contract C
{
function f(bytes memory b) public pure returns (bytes memory) {
bytes memory c = b;
return b;
}
}
// ----
// Warning: (113-127): Unused local variable.
// Warning: (113-127): Assertion checker does not yet support the type of this variable.
// Warning: (58-72): Assertion checker does not yet support the type of this variable.
// Warning: (95-107): Assertion checker does not yet support the type of this variable.
// Warning: (130-131): Internal error: Expression undefined for SMT solver.
// Warning: (130-131): Assertion checker does not yet implement this type.