solidity/libsolidity
Martin Blicha 8ca453f82e SMTChecker: External function call with struct member is not getter
if a struct has a member that is a function pointer with `external`
attribute, and such a member is called, it is currently incorrectly
treated as a public getter in SMTEncoder.

The proposed fix is to make SMTEncoder::publicGetter more strict in
deciding whether an expression is a public getter.
The added condition, that the access happens on a state variable, is
exactly what is checked later with an assertion that is currently
failing.
2023-05-26 14:23:45 +02:00
..
analysis Disallow immutable initialization in try catch statements 2023-05-09 14:48:14 +02:00
ast Introduce solidity-next pragma 2023-05-15 19:25:13 +02:00
codegen Fix hidden-overload in Types and remove CMake hack 2023-05-09 19:33:23 +02:00
formal SMTChecker: External function call with struct member is not getter 2023-05-26 14:23:45 +02:00
interface Introduce solidity-next pragma 2023-05-15 19:25:13 +02:00
lsp Fixes compilation errors with some clangs 2023-02-03 21:37:50 -05:00
parsing Restrict experimental solidity to constantinople and above 2023-05-17 17:03:43 +02:00
CMakeLists.txt User-defined operators: AST 2023-02-22 00:06:17 +01:00