r0qs
98b5b6c916
Avoid creating copy of the object
2023-10-02 14:35:38 +02:00
r0qs
61162deea7
Fix subObjectAt
2023-10-02 14:35:37 +02:00
r0qs
e61843428a
Apply suggestions
2023-10-02 14:35:37 +02:00
Daniel Lupu
83fec48f54
set proper execution num for creation objects
2023-10-02 14:35:37 +02:00
Daniel Lupu
feb4880b50
mostly style changes
2023-10-02 14:35:37 +02:00
Daniel Lupu
284adee620
process some of the feedback
2023-10-02 14:35:36 +02:00
Daniel Lupu
9012ade27f
getObject -> Object::objectAt
2023-10-02 14:35:36 +02:00
Daniel Lupu
4095ea50c2
process some of the feedback
2023-10-02 14:35:36 +02:00
Daniel Lupu
8b99ac4054
fix: apply suggestions + small fix
2023-10-02 14:35:36 +02:00
Daniel Lupu
98b598fdc4
fix: apply coding style suggestions
2023-10-02 14:35:36 +02:00
Daniel Lupu
fc50f8ff96
remove unnecessary brackets
2023-10-02 14:35:36 +02:00
Daniel Lupu
d8173fb158
slightly improve a var name
2023-10-02 14:35:36 +02:00
Daniel Lupu
66e314b7a0
modify <object> flag description
2023-10-02 14:35:35 +02:00
Daniel Lupu
67e987b53f
make objectApply recursive
2023-10-02 14:35:35 +02:00
Daniel Lupu
1a2ea45f45
if input was code block, only print code
2023-10-02 14:35:35 +02:00
Daniel Lupu
97fc74f74d
do not use Object::pathToSubObject in getSubObject
2023-10-02 14:35:35 +02:00
Daniel Lupu
3078ab2d9c
yulopti: Add support for Yul Objects
2023-10-02 14:35:35 +02:00
r0qs
ab2d3957cb
Add bytecode test for multiple sources compiler at same time
...
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2023-09-29 23:17:15 +02:00
r0qs
e3b36f736d
Avoid sorting FunctionDefinitions by AST ID during codegen
...
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2023-09-26 14:02:00 +02:00
Kamil Śliwak
3fb2f1db88
AnalysisFramework: Move common setup to the framework
2023-09-19 15:56:49 +02:00
Kamil Śliwak
d2bfb2f737
AnalysisFramework: Reimplement parseAnalyseAndReturnError() with runFramework()
2023-09-19 15:56:49 +02:00
Kamil Śliwak
b766268ff3
AnalysisFramework: Get rid of parseAndAnalyse() and success()
...
- There are too many badly named functions doing different things. E.g. SyntaxTest has both this and parseAndAnalyze().
2023-09-19 15:56:49 +02:00
Kamil Śliwak
309a8de530
Refactor AnalysisFramework to share more features between test cases that depend on it
2023-09-19 15:56:49 +02:00
Daniel
dc44f8ad91
Merge pull request #14550 from ethereum/events-at-file-level
...
File-level events
2023-09-18 14:36:14 +02:00
Kamil Śliwak
b0a986ffff
Allow event definitions at file level
2023-09-15 14:47:40 +02:00
Saw-mon & Natalie
85b1cb9013
fixed MSTORE typo
2023-09-14 16:15:28 +02:00
Daniel
9bce5f91dc
Merge pull request #14538 from ethereum/experimentalAnalysisBasicInfrastructure
...
New Analysis basic infrastructure
2023-09-13 13:00:56 +02:00
Kamil Śliwak
b63a94031f
Generate expectations for moved Natspec syntax tests
2023-09-11 18:06:42 +02:00
Kamil Śliwak
dc68480f72
Move Natspec syntax tests to natspecJSON
2023-09-11 18:06:42 +02:00
Kamil Śliwak
d083925bed
natspecJSON: Generate missing expectations (including errors)
2023-09-11 18:06:42 +02:00
Kamil Śliwak
481c7256cb
natspecJSON: Include version
and kind
fields in expectations where missing
2023-09-11 18:06:42 +02:00
Kamil Śliwak
99bfdf930a
SolidityNatspecJSON: Convert Boost-based test cases into natspectJSON/*.sol tests
2023-09-11 18:06:42 +02:00
Kamil Śliwak
ba019e5a01
SolidityNatspecJSON: Manual conversion of two test cases that would not be handled correctly by the script
...
- dev_multiple_params_mixed_whitespace has whitespace that is not completely preserved
- dev_explicit_inherit_complex is a multi-file test
2023-09-11 18:06:42 +02:00
Kamil Śliwak
1041f071f0
SolidityNatspecJSON: A few tweaks and small fixes before automatic conversion
...
- Expectation order matching the order of contracts in the source
- Typos in test names
- Redundant prefixes in test names
- Wrong 'king' in some expectations (it's not checked by the test suite)
2023-09-11 18:06:42 +02:00
Kamil Śliwak
91cc72bcd4
NatspecJSONTest based on SyntaxTest
2023-09-11 18:06:42 +02:00
Matheus Aguiar
14aed39261
Introduce experimental analysis basic infrastructure
2023-09-11 12:29:44 -03:00
Nikola Matic
ae36323edb
Fix missing std qualifier for ASAN
2023-09-05 08:49:23 +02:00
Nikola Matic
fdc6699159
Rematerialize zero literals with default cleanup sequence
...
Add unused pruner step to the end of the default cleanup sequence
2023-09-04 15:40:33 +02:00
Nikola Matic
76e0d81354
Fix failing OZ test
2023-09-04 12:23:12 +02:00
Paul
b3230b0bdc
deprecate using namespace std
...
test: updat filereader test
deprecate namespace std
deprecate namespace std
deprecate namespace std
deprecate namespace std
deprecate namespace std
deprecate namespace std
deprecate namespace std
deprecate namespace std
deprecated std namespace
deprecated std namespace
deprecated std namespace
deprecated std namespace
deprecated std namespace
deprecated std namespace
deprecated std namespace
deprecated std namespace
deprecated std namespace
depecrate namespace std
deprecated namespace std
check ci
clean line
Co-authored-by: Nikola Matić <nikola.matic@ethereum.org>
purge line
pure line
deprecate std
deprecate std
deprecate std
deprecate std
deprecate std
deprecate
deprecate std
bye namespace
2023-09-04 10:12:07 +02:00
Kamil Śliwak
e847596e39
CommonSyntaxTest: Add support for syntax tests with custom expectations in addition to expected errors
2023-08-23 18:00:01 +02:00
Kamil Śliwak
c965d6332c
SyntaxTest: Allow derived test cases to filter out warnings and infos
2023-08-23 18:00:01 +02:00
Kamil Śliwak
73b9077ab0
SyntaxTest: Default-initialize boolean fields without showing the value
...
- These get re-initialized in constructor anyway. The only purpose if initializing here is our convention to always initialize primitive types at declaration time. We don't want to have to repeat the defaults though.
2023-08-23 18:00:01 +02:00
Kamil Śliwak
1bb596096b
fixup! Change semantic tests to use the proper via IR pipeline, without rerunning on exceptions
2023-08-22 20:43:46 +02:00
Kamil Śliwak
a4d777643d
fixup! Change semantic tests to use the proper via IR pipeline, without rerunning on exceptions
2023-08-22 20:19:20 +02:00
Kamil Śliwak
38decf05dd
Update gas expectations
2023-08-22 20:00:03 +02:00
Kamil Śliwak
ffd495bd89
Increase gas in call_options_overload test to make it pass on homestead
...
- After the test framework changes it fails via Yul on Homestead but passes on all other EVM versions and on legacy. The test itself does not seem to be testing these specific numbers so and increasing them resolves the problem.
2023-08-22 20:00:03 +02:00
Daniel Kirchner
b9db435684
Rerun SolidityEndToEndTest.cpp tests on stack errors.
2023-08-22 20:00:03 +02:00
Kamil Śliwak
bc6d10f11d
SemanticTest: Add a setting that explicitly states the minimal Yul optimization level that avoids "Stack too deep"
2023-08-22 20:00:00 +02:00
Daniel Kirchner
8e9496eb8b
Change semantic tests to use the proper via IR pipeline, without rerunning on exceptions
2023-08-22 19:58:31 +02:00