Commit Graph
4356 Commits
Author SHA1 Message Date
Matheus Aguiar 9465feecd8 Revert "Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions"
This reverts commit f567eb1fb2.

Correcting Bugfixes section of Changelog.
2022-05-15 19:00:22 +02:00
Leo Alt 673e9fc0e2 Update tests and hashes for z3 4.8.17 2022-05-15 19:00:21 +02:00
Daniel Kirchner 824b71c5e5 Bug list entry, changelog entry and tests. 2022-05-15 19:00:08 +02:00
Daniel Kirchner cee2427771 Bugfix. 2022-05-15 19:00:08 +02:00
Daniel Kirchner 634c7f036c Test case for the buggy behaviour. 2022-05-15 19:00:08 +02:00
Leo Alt d85494a77d adjust nondet 2022-05-12 17:35:44 +02:00
Leo Alt 0d0add2afc more smtchecker tests 2022-05-12 15:52:29 +02:00
Leo Alt 98930344e8 new tests with address state variables 2022-05-12 15:19:51 +02:00
Leo Alt ff01c7275c fixup new tests external calls 2022-05-12 15:19:51 +02:00
Leo Alt 7092caf6bf Adjust tests for nondeterminism 2022-05-12 15:19:51 +02:00
Leo Alt 671adfb644 Havoc the state when state variables of reference type contain contract type 2022-05-12 15:19:51 +02:00
Leo Alt 43e08ba243 Fix getters to this 2022-05-12 15:19:51 +02:00
Leo Alt e7dede36d0 adjust old tests 2022-05-12 15:19:51 +02:00
Leo Alt ba4173cd8a Add new tests with semantic this and indirect storage changes 2022-05-12 15:19:51 +02:00
Leo Alt 154e7619e0 Add smtchecker isoltest options for contract and trusted external calls 2022-05-12 15:19:51 +02:00
Leo Alt cbaba6f913 update tests 2022-05-11 20:02:31 +02:00
Kamil Śliwak 0e0d1972f9 Disable non-deterministic counterexamples in some SMT tests
- The counterexamples sometimes do appear and the tests fail.
2022-05-10 12:48:01 +02:00
Marenz 893122eb89 lsp.py: Support subdirectories 2022-05-09 14:54:55 +02:00
Leo Alt 201c6c6819 fix smt flaky test 2022-05-05 11:38:16 +02:00
Leo Alt cba3d18f66 adjust for osx nondeterminism 2022-05-04 19:04:54 +02:00
Leo Alt 4fd7de36f1 update smt tests z3 4.8.16 2022-05-03 14:23:27 +02:00
chriseth df29ea72f0 Merge pull request #12836 from ethereum/fixUsingGlobal
Fix using global with libraries.
2022-05-02 12:41:34 +02:00
chriseth 505fa7763f Fix checks for "using for ... global" for libraries. 2022-05-02 12:40:56 +02:00
Alexey Shekhirin cb24e5d545 fix(parser): error for unexpected token 2022-04-29 16:13:04 +04:00
chriseth d55b84ff63 Merge pull request #12861 from ethereum/disallow-returndatacopy-in-pure-functions
Disallow RETURNDATACOPY and RETURNDATASIZE in inline assembly in pure functions
2022-04-28 13:15:04 +02:00
Marenz afd9feead4 LSP.py: Implement simple send/respond framework 2022-04-13 13:22:05 +02:00
Leo Alt f9fa76c9d3 smt encode call 2022-04-11 12:19:41 +02:00
Joshua Quinones e1a59397c6 Renamed AssemblyStack to YulStack
All files, references, variables, comments, etc. were renamed to YulStack.
2022-04-08 20:28:55 +02:00
Kamil Śliwak f567eb1fb2 Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions 2022-04-08 14:48:35 +02:00
Kamil Śliwak fb7c969ce8 Tests for assembly instructions allowed with mutable/view/pure functions 2022-04-08 14:47:32 +02:00
Kamil Śliwak 0bb885dab2 Bring soltestAssert() up to date with solAssert()
- Allow omitting description.
- Provide a default description.
- Use a custom exception type derived from util::Exception rather than std::exception.
2022-04-06 22:26:10 +02:00
Ryan 3a17274691 Improve error message for static array with size too large 2022-04-05 17:36:37 +02:00
Aisultan Kali 96376264e8 Set handlers use unified jsonPrint with prettifier if needed 2022-04-04 20:17:11 +02:00
chriseth 755e043a6d Use error message for unary operators. 2022-04-04 16:53:36 +05:30
nishant-sachdeva 4c6066bfad typeCheckAbiEncodeCallFunction should type check the arguments on functionPointerType->asExternallyCallableFunction instead of teh plain function type 2022-03-24 18:53:46 +05:30
Marenz 0bf674b442 LSP test: Minor refactoring and better exception reporting 2022-03-21 13:23:02 +01:00
Daniel Kirchner 4b9c01752d Test updates. 2022-03-16 15:34:38 +01:00
Daniel Kirchner 5cd98006d4 Fill in junk in stack layouts on terminating control flow paths. 2022-03-15 18:36:55 +01:00
Daniel Kirchner 8cb01a9953 Fix and updated test. 2022-03-15 10:23:09 +01:00
Daniel Kirchner db27051024 Test for old behaviour. 2022-03-15 10:23:09 +01:00
chriseth 9188519f11 Using for with global binding. 2022-03-14 17:39:14 +01:00
chriseth 7f360e61fc Merge pull request #12781 from ethereum/fixImportDirectiveVisits
Fix import directive visits in type checker and view pure checker.
2022-03-14 15:35:37 +01:00
chriseth 3d8fc6b126 Merge pull request #12760 from ethereum/viaIRNonExperimental
Mark viaIR code generation as non-experimental.
2022-03-14 15:30:15 +01:00
Daniel Kirchner 0f1a63c3fa Fix import directive visits in type checker and view pure checker. 2022-03-14 14:53:06 +01:00
Daniel Kirchner e58c0b561d Mark viaIR code generation as non-experimental. 2022-03-14 14:48:00 +01:00
wechman 8a254b7a7f Use sol file to validate test variants 2022-03-14 14:21:30 +01:00
wechman 4c1224e3bf Generate ASTJSONTest variants only if a file with expected result exists 2022-03-14 14:21:30 +01:00
wechman 371a531381 Add "fail after parsing" scenario to ASTJSON tests 2022-03-14 14:21:30 +01:00
wechman f431c6f058 Support compilation fail scenarios in ASTJSON tests 2022-03-14 14:21:06 +01:00
wechman 38639417e1 Non-fatal erros do not stop ASTJSON test execution 2022-03-14 14:21:06 +01:00