diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.1-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.1-legacy.zip deleted file mode 100644 index 22775f445..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.1-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.2-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.2-legacy.zip deleted file mode 100644 index 73828686d..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.2-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.3-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.3-legacy.zip deleted file mode 100644 index ed5aeb8f4..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.3-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.4-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.4-legacy.zip deleted file mode 100644 index 19c9d1914..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.4-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.5-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.5-legacy.zip deleted file mode 100644 index f1ba6631d..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.5-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.6-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.6-legacy.zip deleted file mode 100644 index 12595ed12..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.6-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.7-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.7-legacy.zip deleted file mode 100644 index df22f726c..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.7-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.8-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.8-legacy.zip deleted file mode 100644 index 2b3243e1f..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.8-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.9-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.9-legacy.zip deleted file mode 100644 index 2dafe76c1..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.0.sol-0.4.9-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.10-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.10-legacy.zip deleted file mode 100644 index 8621b5eaf..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.10-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.11-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.11-legacy.zip deleted file mode 100644 index bb89927ee..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.11-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.12-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.12-compact.zip deleted file mode 100644 index 22e6125f0..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.12-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.12-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.12-legacy.zip deleted file mode 100644 index fdb983c0f..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.12-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.13-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.13-compact.zip deleted file mode 100644 index fcc7a162f..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.13-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.13-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.13-legacy.zip deleted file mode 100644 index aecda02e7..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.13-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.14-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.14-compact.zip deleted file mode 100644 index 998551009..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.14-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.14-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.14-legacy.zip deleted file mode 100644 index 6e3430437..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.14-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.15-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.15-compact.zip deleted file mode 100644 index d1ed95591..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.15-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.15-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.15-legacy.zip deleted file mode 100644 index e90ee931a..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.15-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.16-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.16-compact.zip deleted file mode 100644 index 640ca7797..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.16-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.16-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.16-legacy.zip deleted file mode 100644 index 29a1e57ca..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.16-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.17-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.17-compact.zip deleted file mode 100644 index 7edd03aad..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.17-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.17-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.17-legacy.zip deleted file mode 100644 index 384201b97..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.17-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.18-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.18-compact.zip deleted file mode 100644 index da38a33a8..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.18-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.18-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.18-legacy.zip deleted file mode 100644 index ef37f54e3..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.18-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.19-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.19-compact.zip deleted file mode 100644 index ff6983789..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.19-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.19-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.19-legacy.zip deleted file mode 100644 index 861c0f51f..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.19-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.20-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.20-compact.zip deleted file mode 100644 index b5493f90c..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.20-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.20-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.20-legacy.zip deleted file mode 100644 index caf030fd3..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.20-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.21-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.21-compact.zip deleted file mode 100644 index 2e5c7edc0..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.21-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.21-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.21-legacy.zip deleted file mode 100644 index 0c49328f1..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.21-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.22-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.22-compact.zip deleted file mode 100644 index fea8618b0..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.22-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.22-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.22-legacy.zip deleted file mode 100644 index 644e9bb2b..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.22-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.23-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.23-compact.zip deleted file mode 100644 index 3058010ea..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.23-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.23-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.23-legacy.zip deleted file mode 100644 index 62ef8a4da..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.23-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.24-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.24-compact.zip deleted file mode 100644 index b72c8be5b..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.24-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.24-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.24-legacy.zip deleted file mode 100644 index 8b5873fe9..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.24-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.25-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.25-compact.zip deleted file mode 100644 index 6cb03fad7..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.25-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.25-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.25-legacy.zip deleted file mode 100644 index 44d40be01..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.25-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.26-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.26-compact.zip deleted file mode 100644 index a91620e9f..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.26-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.26-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.26-legacy.zip deleted file mode 100644 index 8356a6fbc..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.4.26-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.0-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.0-compact.zip deleted file mode 100644 index e8bca7c2d..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.0-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.0-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.0-legacy.zip deleted file mode 100644 index 5f17c29e8..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.0-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.1-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.1-compact.zip deleted file mode 100644 index 1a6177cff..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.1-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.1-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.1-legacy.zip deleted file mode 100644 index 4a211518f..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.1-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.10-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.10-compact.zip deleted file mode 100644 index 1ecc0a326..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.10-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.10-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.10-legacy.zip deleted file mode 100644 index 2979df4a3..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.10-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.11-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.11-compact.zip deleted file mode 100644 index e5eb9c5b2..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.11-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.11-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.11-legacy.zip deleted file mode 100644 index ccf75d720..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.11-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.12-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.12-compact.zip deleted file mode 100644 index 5e50bda34..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.12-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.12-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.12-legacy.zip deleted file mode 100644 index e6f1c0be8..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.12-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.13-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.13-compact.zip deleted file mode 100644 index d54d6616e..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.13-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.13-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.13-legacy.zip deleted file mode 100644 index abf92d7c5..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.13-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.14-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.14-compact.zip deleted file mode 100644 index 0828b3e5b..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.14-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.14-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.14-legacy.zip deleted file mode 100644 index d6ee36fe5..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.14-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.15-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.15-compact.zip deleted file mode 100644 index d472a8b79..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.15-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.15-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.15-legacy.zip deleted file mode 100644 index 41af99d43..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.15-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.16-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.16-compact.zip deleted file mode 100644 index 1d82564f2..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.16-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.16-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.16-legacy.zip deleted file mode 100644 index b9f99839d..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.16-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.17-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.17-compact.zip deleted file mode 100644 index 75b610ccb..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.17-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.17-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.17-legacy.zip deleted file mode 100644 index bca00bca1..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.17-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.2-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.2-compact.zip deleted file mode 100644 index 80a77e55a..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.2-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.2-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.2-legacy.zip deleted file mode 100644 index 22c59923f..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.2-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.3-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.3-compact.zip deleted file mode 100644 index ff5fa3810..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.3-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.3-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.3-legacy.zip deleted file mode 100644 index 62938a707..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.3-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.4-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.4-compact.zip deleted file mode 100644 index dbfe31cb8..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.4-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.4-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.4-legacy.zip deleted file mode 100644 index 3821f6dc4..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.4-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.5-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.5-compact.zip deleted file mode 100644 index f5e1ab7b6..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.5-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.5-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.5-legacy.zip deleted file mode 100644 index d9fa60107..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.5-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.6-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.6-compact.zip deleted file mode 100644 index f56dfb4a7..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.6-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.6-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.6-legacy.zip deleted file mode 100644 index ddc806df8..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.6-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.7-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.7-compact.zip deleted file mode 100644 index d6af80dae..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.7-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.7-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.7-legacy.zip deleted file mode 100644 index 1df236eae..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.7-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.8-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.8-compact.zip deleted file mode 100644 index 11d40147e..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.8-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.8-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.8-legacy.zip deleted file mode 100644 index 572e8ffc5..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.8-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.9-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.9-compact.zip deleted file mode 100644 index 19e171e09..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.9-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.9-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.9-legacy.zip deleted file mode 100644 index 73089e53e..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.5.9-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.0-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.0-compact.zip deleted file mode 100644 index b2c4a6565..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.0-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.0-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.0-legacy.zip deleted file mode 100644 index 096695271..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.0-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.1-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.1-compact.zip deleted file mode 100644 index 16310e998..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.1-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.1-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.1-legacy.zip deleted file mode 100644 index 522ae15cc..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.1-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.10-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.10-compact.zip deleted file mode 100644 index 30c72908d..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.10-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.10-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.10-legacy.zip deleted file mode 100644 index 42d2ac6fa..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.10-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.11-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.11-compact.zip deleted file mode 100644 index 5f350d6bc..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.11-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.11-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.11-legacy.zip deleted file mode 100644 index b03109147..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.11-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.12-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.12-compact.zip deleted file mode 100644 index 4bae50870..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.12-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.12-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.12-legacy.zip deleted file mode 100644 index 16c20510d..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.12-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.2-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.2-compact.zip deleted file mode 100644 index 462963bb9..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.2-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.2-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.2-legacy.zip deleted file mode 100644 index 47c0b11b8..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.2-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.3-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.3-compact.zip deleted file mode 100644 index 4d334d2cf..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.3-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.3-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.3-legacy.zip deleted file mode 100644 index 125f9ac8f..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.3-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.4-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.4-compact.zip deleted file mode 100644 index eba85cb80..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.4-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.4-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.4-legacy.zip deleted file mode 100644 index 6fe1cc7c9..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.4-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.5-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.5-compact.zip deleted file mode 100644 index 3ebd9814c..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.5-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.5-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.5-legacy.zip deleted file mode 100644 index 7d9af749b..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.5-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.6-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.6-compact.zip deleted file mode 100644 index cba66b364..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.6-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.6-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.6-legacy.zip deleted file mode 100644 index 0dc6ddbf2..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.6-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.7-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.7-compact.zip deleted file mode 100644 index 2da6a4e92..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.7-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.7-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.7-legacy.zip deleted file mode 100644 index 24548689c..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.7-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.8-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.8-compact.zip deleted file mode 100644 index 64e8a1842..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.8-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.8-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.8-legacy.zip deleted file mode 100644 index e84ce8d21..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.8-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.9-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.9-compact.zip deleted file mode 100644 index 812a5912c..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.9-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.9-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.9-legacy.zip deleted file mode 100644 index 7b90065cf..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.6.9-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.0-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.0-compact.zip deleted file mode 100644 index e80c2f605..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.0-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.0-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.0-legacy.zip deleted file mode 100644 index 0113f31d1..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.0-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.1-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.1-compact.zip deleted file mode 100644 index dead8c3b7..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.1-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.1-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.1-legacy.zip deleted file mode 100644 index e3809e786..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.1-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.2-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.2-compact.zip deleted file mode 100644 index 1fe71b244..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.2-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.2-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.2-legacy.zip deleted file mode 100644 index 926e6f47b..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.2-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.3-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.3-compact.zip deleted file mode 100644 index b39de6a9a..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.3-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.3-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.3-legacy.zip deleted file mode 100644 index 319b09e9e..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.3-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.4-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.4-compact.zip deleted file mode 100644 index 7b32ef392..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.4-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.4-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.4-legacy.zip deleted file mode 100644 index afc782725..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.4-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.5-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.5-compact.zip deleted file mode 100644 index 7acd5962c..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.5-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.5-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.5-legacy.zip deleted file mode 100644 index 20c788799..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.5-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.6-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.6-compact.zip deleted file mode 100644 index d927fd405..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.6-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.6-legacy.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.6-legacy.zip deleted file mode 100644 index 7522b4249..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.7.6-legacy.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.0-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.0-compact.zip deleted file mode 100644 index c477c3a2d..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.0-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.1-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.1-compact.zip deleted file mode 100644 index fe4182fc0..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.1-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.10-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.10-compact.zip deleted file mode 100644 index c8ee25b89..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.10-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.11-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.11-compact.zip deleted file mode 100644 index d8d14f2c6..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.11-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.12-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.12-compact.zip deleted file mode 100644 index 6545e6db9..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.12-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.13-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.13-compact.zip deleted file mode 100644 index 210629175..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.13-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.14-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.14-compact.zip deleted file mode 100644 index 6325ec344..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.14-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.15-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.15-compact.zip deleted file mode 100644 index b5f48ca13..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.15-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.2-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.2-compact.zip deleted file mode 100644 index 7f28570b0..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.2-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.3-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.3-compact.zip deleted file mode 100644 index 09d2ffae7..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.3-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.4-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.4-compact.zip deleted file mode 100644 index 295f32b72..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.4-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.5-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.5-compact.zip deleted file mode 100644 index d63f990a1..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.5-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.6-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.6-compact.zip deleted file mode 100644 index 556c37757..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.6-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.7-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.7-compact.zip deleted file mode 100644 index 5431b952b..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.7-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.8-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.8-compact.zip deleted file mode 100644 index f6e35bf6b..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.8-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.9-compact.zip b/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.9-compact.zip deleted file mode 100644 index b385ce12b..000000000 Binary files a/tests/e2e/solc_parsing/test_data/compile/implicit-return-0.4.10.sol-0.8.9-compact.zip and /dev/null differ diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.1-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.1-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.1-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.2-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.2-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.2-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.3-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.3-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.3-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.4-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.4-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.4-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.5-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.5-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.5-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.6-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.6-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.6-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.7-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.7-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.7-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.8-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.8-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.8-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.9-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.9-legacy.json deleted file mode 100644 index e238554be..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.0.sol-0.4.9-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: THROW 11\n\"];\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: THROW 13\n\"];\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: END_IF 5\n\"];\n5->6;\n6[label=\"Node Type: RETURN 6\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.10-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.10-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.10-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.11-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.11-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.11-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.12-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.12-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.12-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.12-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.12-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.12-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.13-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.13-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.13-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.13-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.13-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.13-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.14-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.14-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.14-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.14-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.14-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.14-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.15-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.15-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.15-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.15-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.15-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.15-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.16-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.16-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.16-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.16-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.16-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.16-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.17-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.17-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.17-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.17-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.17-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.17-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.18-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.18-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.18-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.18-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.18-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.18-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.19-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.19-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.19-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.19-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.19-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.19-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.20-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.20-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.20-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.20-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.20-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.20-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.21-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.21-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.21-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.21-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.21-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.21-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.22-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.22-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.22-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.22-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.22-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.22-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.23-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.23-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.23-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.23-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.23-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.23-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.24-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.24-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.24-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.24-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.24-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.24-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.25-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.25-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.25-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.25-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.25-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.25-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.26-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.26-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.26-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.26-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.26-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.4.26-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.0-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.0-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.0-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.0-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.0-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.0-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.1-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.1-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.1-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.1-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.1-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.1-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.10-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.10-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.10-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.10-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.10-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.10-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.11-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.11-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.11-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.11-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.11-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.11-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.12-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.12-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.12-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.12-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.12-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.12-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.13-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.13-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.13-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.13-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.13-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.13-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.14-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.14-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.14-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.14-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.14-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.14-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.15-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.15-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.15-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.15-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.15-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.15-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.16-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.16-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.16-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.16-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.16-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.16-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.17-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.17-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.17-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.17-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.17-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.17-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.2-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.2-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.2-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.2-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.2-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.2-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.3-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.3-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.3-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.3-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.3-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.3-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.4-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.4-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.4-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.4-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.4-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.4-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.5-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.5-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.5-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.5-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.5-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.5-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.6-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.6-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.6-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.6-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.6-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.6-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.7-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.7-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.7-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.7-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.7-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.7-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.8-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.8-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.8-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.8-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.8-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.8-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.9-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.9-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.9-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.9-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.9-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.5.9-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.0-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.0-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.0-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.0-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.0-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.0-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.1-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.1-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.1-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.1-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.1-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.1-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.10-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.10-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.10-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.10-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.10-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.10-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.11-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.11-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.11-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.11-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.11-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.11-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.12-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.12-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.12-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.12-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.12-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.12-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.2-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.2-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.2-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.2-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.2-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.2-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.3-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.3-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.3-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.3-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.3-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.3-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.4-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.4-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.4-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.4-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.4-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.4-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.5-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.5-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.5-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.5-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.5-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.5-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.6-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.6-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.6-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.6-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.6-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.6-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.7-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.7-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.7-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.7-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.7-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.7-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.8-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.8-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.8-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.8-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.8-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.8-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.9-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.9-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.9-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.9-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.9-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.6.9-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.0-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.0-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.0-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.0-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.0-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.0-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.1-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.1-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.1-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.1-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.1-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.1-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.2-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.2-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.2-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.2-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.2-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.2-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.3-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.3-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.3-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.3-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.3-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.3-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.4-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.4-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.4-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.4-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.4-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.4-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.5-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.5-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.5-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.5-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.5-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.5-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.6-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.6-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.6-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.6-legacy.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.6-legacy.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.7.6-legacy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.0-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.0-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.0-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.1-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.1-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.1-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.10-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.10-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.10-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.11-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.11-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.11-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.12-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.12-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.12-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.13-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.13-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.13-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.14-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.14-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.14-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.15-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.15-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.15-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.2-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.2-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.2-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.3-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.3-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.3-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.4-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.4-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.4-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.5-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.5-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.5-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.6-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.6-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.6-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.7-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.7-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.7-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.8-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.8-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.8-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.9-compact.json b/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.9-compact.json deleted file mode 100644 index 368952255..000000000 --- a/tests/e2e/solc_parsing/test_data/expected/implicit-return-0.4.10.sol-0.8.9-compact.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "C": { - "f(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->6[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: BEGIN_LOOP 4\n\"];\n4->7;\n5[label=\"Node Type: END_LOOP 5\n\"];\n5->16;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->4;\n7[label=\"Node Type: IF_LOOP 7\n\"];\n7->8[label=\"True\"];\n7->5[label=\"False\"];\n8[label=\"Node Type: IF 8\n\"];\n8->9[label=\"True\"];\n8->13[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->11[label=\"False\"];\n10[label=\"Node Type: EXPRESSION 10\n\"];\n10->12;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: END_IF 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->7;\n16[label=\"Node Type: END_IF 16\n\"];\n16->17;\n17[label=\"Node Type: RETURN 17\n\"];\n}\n", - "g(uint256,uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: IF 3\n\"];\n3->4[label=\"True\"];\n3->7[label=\"False\"];\n4[label=\"Node Type: RETURN 4\n\"];\n5[label=\"Node Type: BEGIN_LOOP 5\n\"];\n5->8;\n6[label=\"Node Type: END_LOOP 6\n\"];\n6->19;\n7[label=\"Node Type: NEW VARIABLE 7\n\"];\n7->5;\n8[label=\"Node Type: IF_LOOP 8\n\"];\n8->9[label=\"True\"];\n8->6[label=\"False\"];\n9[label=\"Node Type: IF 9\n\"];\n9->10[label=\"True\"];\n9->15[label=\"False\"];\n10[label=\"Node Type: IF 10\n\"];\n10->11[label=\"True\"];\n10->13[label=\"False\"];\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->14;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: END_IF 14\n\"];\n14->17;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: EXPRESSION 16\n\"];\n16->17;\n17[label=\"Node Type: END_IF 17\n\"];\n17->18;\n18[label=\"Node Type: EXPRESSION 18\n\"];\n18->8;\n19[label=\"Node Type: END_IF 19\n\"];\n19->20;\n20[label=\"Node Type: RETURN 20\n\"];\n}\n", - "h(C.St)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n1->2;\n2[label=\"Node Type: IF 2\n\"];\n2->3[label=\"True\"];\n2->4[label=\"False\"];\n3[label=\"Node Type: RETURN 3\n\"];\n4[label=\"Node Type: EXPRESSION 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: END_IF 6\n\"];\n6->7;\n7[label=\"Node Type: RETURN 7\n\"];\n}\n" - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/implicit-return-0.4.0.sol b/tests/e2e/solc_parsing/test_data/implicit-return-0.4.0.sol deleted file mode 100644 index 52d8650e1..000000000 --- a/tests/e2e/solc_parsing/test_data/implicit-return-0.4.0.sol +++ /dev/null @@ -1,55 +0,0 @@ -contract C { - function f(uint a) public returns (uint x) { - x = a; - if(a == 1) { - return a; - } else { - for (uint i = 0; i < 10; i++) { - if (x > 10) { - if (a < 0) { - x = 10 * x; - } else { - throw; - } - } else { - x++; - } - } - } - } - - function g(uint a, uint b) public returns (uint x, uint y) { - x = a; - y = b; - if(a == 1) { - return (a, b); - } else { - for (uint i = 0; i < 10; i++) { - if (x > 10) { - if (a < 0) { - x = 10 * x; - y = 10 * y; - } else { - throw; - } - } else { - x++; - y--; - } - } - } - } - - struct St { - uint value; - } - - function h(St memory s) internal returns (St memory t) { - t = St(1); - if(s.value == 1) { - return s; - } else { - t.value = 10; - } - } -} \ No newline at end of file diff --git a/tests/e2e/solc_parsing/test_data/implicit-return-0.4.10.sol b/tests/e2e/solc_parsing/test_data/implicit-return-0.4.10.sol deleted file mode 100644 index bcf4cb5d7..000000000 --- a/tests/e2e/solc_parsing/test_data/implicit-return-0.4.10.sol +++ /dev/null @@ -1,56 +0,0 @@ -contract C { - function f(uint a) public returns (uint x) { - x = a; - if(a == 1) { - return a; - } else { - for (uint i = 0; i < 10; i++) { - if (x > 10) { - if (a < 0) { - x = 10 * x; - } else { - revert(); - } - } else { - x++; - } - } - } - } - - function g(uint a, uint b) public returns (uint x, uint y) { - x = a; - y = b; - if(a == 1) { - return (a, b); - } else { - for (uint i = 0; i < 10; i++) { - if (x > 10) { - if (a < 0) { - x = 10 * x; - y = 10 * y; - } else { - require(false); - } - } else { - x++; - y--; - } - } - } - } - - struct St { - uint value; - } - - function h(St memory s) internal returns (St memory t) { - t = St(1); - if(s.value == 1) { - return s; - } else { - assert(t.value > 0); - t.value = 10; - } - } -} \ No newline at end of file