solidity/test/libsolidity/smtCheckerTests
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
..
abi Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
array_members Remove EWASM backend. 2023-05-11 10:56:55 -05:00
blockchain_state Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
bmc_coverage Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
complex Remove EWASM backend. 2023-05-11 10:56:55 -05:00
control_flow Fix encoding of side-effects inside if and conditional statements in the BMC engine 2023-05-11 16:44:09 +02:00
crypto Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
deployment update smtchecker tests 2023-03-28 18:23:54 +02:00
external_calls update smtchecker tests 2023-03-28 18:23:54 +02:00
file_level Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
function_selector Remove EWASM backend. 2023-05-11 10:56:55 -05:00
functions Remove EWASM backend. 2023-05-11 10:56:55 -05:00
imports Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
inheritance Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
inline_assembly Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
invariants Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
loops Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
math Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
modifiers Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
natspec Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
operators Remove EWASM backend. 2023-05-11 10:56:55 -05:00
options Add new tests 2021-04-08 21:03:38 +02:00
out_of_bounds Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
overflow Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
simple Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
special Remove EWASM backend. 2023-05-11 10:56:55 -05:00
try_catch Remove EWASM backend. 2023-05-11 10:56:55 -05:00
typecast group unsupported warnings 2023-03-15 17:06:06 +01:00
types SMTChecker: External function call with struct member is not getter 2023-05-26 14:23:45 +02:00
unchecked Remove EWASM backend. 2023-05-11 10:56:55 -05:00
unsupported group unsupported warnings 2023-03-15 17:06:06 +01:00
userTypes Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00
verification_target Report safe properties in BMC and CHC 2023-03-09 14:59:32 +01:00