Daniel Kirchner
|
84d7bac4f6
|
Format immutable references similarly to link references.
|
2020-04-06 11:21:53 +02:00 |
|
Daniel Kirchner
|
81652686be
|
Debug information for immutable references.
|
2020-04-06 10:56:42 +02:00 |
|
Leonardo Alt
|
2cfa44bba3
|
Allow constructing symbolic arrays from smt sort
|
2020-04-06 10:50:00 +02:00 |
|
Jason Cobb
|
205063f86b
|
Delete copy and move operations for ASTVisitor and ASTConstVisitor
|
2020-04-03 23:47:10 -04:00 |
|
Daniel Kirchner
|
d68c526eaa
|
Disallow external function pointers as immutables.
|
2020-04-03 11:56:51 +02:00 |
|
Jason Cobb
|
7f5857a146
|
Delete copy/move on annotation polymorphic bases
|
2020-04-02 22:33:21 -04:00 |
|
Alexander Arlt
|
cae6e7769f
|
Apply modernize-use-override.
|
2020-04-02 18:00:44 -05:00 |
|
Alexander Arlt
|
90bb1d8a7c
|
Apply modernize-use-emplace.
|
2020-04-02 17:35:48 -05:00 |
|
chriseth
|
d7a39c86ce
|
Accessors for immutable variables.
|
2020-04-02 19:09:54 +02:00 |
|
chriseth
|
bdcfd71f34
|
Skip verification for external access.
|
2020-04-02 18:40:43 +02:00 |
|
chriseth
|
216fca5b70
|
Merge pull request #8578 from ethereum/interface-function-modifier-error
Added error for interface functions that have modifiers; test case
|
2020-04-02 18:05:32 +02:00 |
|
hrkrshnn
|
ef2bef9ddc
|
Added error for interface function with modifiers; test case
|
2020-04-02 20:30:43 +05:30 |
|
Leonardo Alt
|
39ff0deb05
|
Zero initialize memory arrays
|
2020-04-02 15:55:18 +02:00 |
|
Mathias Baumann
|
ac7b31e559
|
Validate immutable variables
|
2020-04-02 13:52:27 +02:00 |
|
Mathias Baumann
|
9a8ca6ca33
|
Always return this for EventDefinition::resolveVirtual
Instead of asserting.
|
2020-04-02 13:52:27 +02:00 |
|
chriseth
|
a2b427dc0b
|
Merge pull request #8567 from ethereum/storage-pointer-checker
Removed redundant storage declaration check; test coverages
|
2020-04-02 13:46:51 +02:00 |
|
hrkrshnn
|
79387b2ada
|
Removed redundant declaration check; changed relevant test cases
|
2020-04-02 12:27:38 +05:30 |
|
Daniel Kirchner
|
77ea896b68
|
Properly handle assignments of immutables at declaration.
|
2020-04-02 08:35:22 +02:00 |
|
Daniel Kirchner
|
fe9f8d520c
|
Restrict size for dynamic memory array creation.
|
2020-04-01 17:25:09 +02:00 |
|
chriseth
|
2853cba3e5
|
Fix call to internalDispatch.
|
2020-04-01 12:13:32 +02:00 |
|
Alexander Arlt
|
3e649eb8e1
|
Disallow access to functions from inline assembly.
|
2020-04-01 10:34:55 +02:00 |
|
chriseth
|
b83d82ab75
|
Merge pull request #8550 from a3d4/fix-8450-typechecker-compiler-error
Fix a couple of internal compiler errors when assigning nested tuples
|
2020-03-31 22:21:58 +02:00 |
|
a3d4
|
c002cae691
|
Fix #8450. Prevented internal compiler errors when assigning nested tuples.
|
2020-03-31 03:25:26 +02:00 |
|
Djordje Mijovic
|
89d5ecdd24
|
[Sol2Yul] Adding support for constructor with parameters
|
2020-03-27 01:19:11 +01:00 |
|
chriseth
|
173f234860
|
Refactor: Replace inheritance hierarchy by most derived contract.
|
2020-03-26 18:27:39 +01:00 |
|
Leonardo Alt
|
d2f65ea8b1
|
[SMTChecker] Add SortProvider
|
2020-03-26 14:55:54 +01:00 |
|
chriseth
|
1897138916
|
Merge pull request #8522 from a3d4/fix-8427-ast-types-compiler-error
Promoted typeError to fatalTypeError in ReferencesResolver
|
2020-03-25 11:23:00 +01:00 |
|
a3d4
|
339f3ca32c
|
Fix #8427: Promoted typeError to fatalTypeError in ReferencesResolver::endVisit(UserDefinedTypeName).
|
2020-03-25 02:51:34 +01:00 |
|
Daniel Kirchner
|
04d8ad2ae1
|
Legacy codegeneration for immutable state variables.
|
2020-03-24 16:45:25 +01:00 |
|
chriseth
|
cfeea542b5
|
Merge pull request #8519 from iamdefinitelyahuman/develop
fix typo in docstring error message
|
2020-03-23 20:55:32 +01:00 |
|
Daniel Kirchner
|
fe659ceb41
|
Anything outside storage is always a pointer.
|
2020-03-23 15:34:10 +01:00 |
|
iamdefinitelyahuman
|
cae4b7dd0e
|
fix typo in docstring error message
|
2020-03-22 17:15:44 +04:00 |
|
Leonardo Alt
|
0fcb1427c9
|
Fix Yul codegen when dynamic array is used as rhs of assignment
|
2020-03-20 17:52:51 +01:00 |
|
a3d4
|
66783c30ce
|
Introduced TestCaseReader.
|
2020-03-16 23:14:33 +01:00 |
|
Djordje Mijovic
|
96d278b101
|
[Sol->Yul] Adding slicing for call data arrays
|
2020-03-13 13:40:38 +01:00 |
|
chriseth
|
fa148f2483
|
Parsing of immutable state variable.
|
2020-03-12 17:11:24 +01:00 |
|
a3d4
|
a86c511713
|
Replaced "assert" with "if" (incorrect contract code is not supposed to trigger asserts).
|
2020-03-12 14:03:27 +01:00 |
|
Daniel Kirchner
|
bdd8045db5
|
Merge pull request #8183 from ethereum/functionOptionsYulIR
[YulIR] Function call options for Yul IR
|
2020-03-12 10:49:51 +01:00 |
|
Leonardo
|
07ab4c80c4
|
Merge pull request #8323 from ethereum/smt_split_3
[SMTChecker] CHC support to internal function calls
|
2020-03-11 18:37:45 +01:00 |
|
Leonardo Alt
|
07368c2e1e
|
Add support to internal function calls
|
2020-03-11 16:29:07 +01:00 |
|
Djordje Mijovic
|
37878cf8d2
|
Adding support for ipfs large files.
|
2020-03-11 13:55:46 +01:00 |
|
chriseth
|
6a896f766a
|
Function call options for YulIR.
|
2020-03-10 22:38:11 +01:00 |
|
chriseth
|
92d4bbb017
|
Salt should be bytes32.
|
2020-03-10 22:38:11 +01:00 |
|
chriseth
|
5fd5465f66
|
Merge pull request #8471 from a3d4/fix-controlflowbuilder-compilation-error
Fixed ControlFlowBuilder compilation error.
|
2020-03-10 14:12:59 +01:00 |
|
a3d4
|
437ab3d24c
|
Fixed ControlFlowBuilder compilation error.
|
2020-03-10 14:02:16 +01:00 |
|
Christian Parpart
|
bb29a7e497
|
Merge pull request #8460 from ethereum/yulutil-convert-array
YulUtilFunctions: convertionFunction() to also handle array string/memory casts
|
2020-03-10 14:00:34 +01:00 |
|
Christian Parpart
|
5d7a370248
|
YulUtilFunctions: convertionFunction() to also handle array string/memory casts.
|
2020-03-10 11:21:12 +01:00 |
|
Daniel Kirchner
|
809e3503ba
|
Control flow analysis for inline assembly.
|
2020-03-09 16:23:10 +01:00 |
|
chriseth
|
b7c001eb7f
|
Merge pull request #8416 from ethereum/reuseYulCalldataTailAccess
Fix yul calldata tail access functions and reuse them for old codegen.
|
2020-03-09 15:10:48 +01:00 |
|
chriseth
|
37e01a19c0
|
Fix scoping following try/catch.
|
2020-03-09 13:14:13 +01:00 |
|
Christian Parpart
|
105d89bea8
|
Compilation fix.
|
2020-03-09 11:42:34 +01:00 |
|
Christian Parpart
|
988bd6780b
|
Merge pull request #8414 from ethereum/sol2yul-func-type-conversion
[Sol2Yul] Implements function-to-function cast.
|
2020-03-09 11:31:44 +01:00 |
|
Christian Parpart
|
d33376cce6
|
Merge pull request #8409 from ethereum/multiUseYulFunctionNoSharedPtr
Use plain members and references instead of shared pointers for MultiUseYulFunctionCollector
|
2020-03-09 11:18:40 +01:00 |
|
Christian Parpart
|
e210026e74
|
[Sol2Yul] Implements function-to-function cast.
|
2020-03-09 10:40:57 +01:00 |
|
Christian Parpart
|
c8cbb98002
|
[Sol2Yul] Fixes appendExternalFunctionCall for argumentStrings.size() == 0.
|
2020-03-09 10:30:07 +01:00 |
|
chriseth
|
a328e940b5
|
Merge pull request #8429 from ethereum/astJsonImportYulBlock
Fix yul ast import for blocks, switches and string literals.
|
2020-03-08 17:06:05 +01:00 |
|
Daniel Kirchner
|
e58a1de57f
|
Merge pull request #8431 from mijovic/sol2YulSelectorAddress
Adding sol->yul for f.selector and f.address
|
2020-03-06 22:48:38 +01:00 |
|
Djordje Mijovic
|
092827b7ad
|
Adding sol->yul for f.selector and f.address
|
2020-03-06 21:43:14 +01:00 |
|
Daniel Kirchner
|
2df5ca0774
|
Merge pull request #8385 from ethereum/immutable
Immutable state variables (1)
|
2020-03-06 14:20:13 +01:00 |
|
Daniel Kirchner
|
7f38cbb91d
|
Fix calling unimplemented base function.
|
2020-03-06 10:51:16 +01:00 |
|
Daniel Kirchner
|
420f57aec3
|
Fix yul ast import for blocks, switches and string literals.
|
2020-03-05 14:09:13 +01:00 |
|
Daniel Kirchner
|
9318dae42c
|
Merge pull request #8420 from mijovic/iceStackTooDeepFix
Throwing stack too deep ICE in case of calling encode with too many a…
|
2020-03-04 17:41:59 +01:00 |
|
Djordje Mijovic
|
38b219d140
|
Throwing stack too deep ICE in case of calling encode with too many arguments instead of invalid opcode
|
2020-03-04 16:29:07 +01:00 |
|
Daniel Kirchner
|
857ed12b05
|
Use plain members and references instead of shared pointers for MultiUseYulFunctionCollector
|
2020-03-04 16:16:34 +01:00 |
|
Daniel Kirchner
|
b10f12a395
|
Merge pull request #8413 from mijovic/depratateValueCalls
Deprecated warning for .value() and .gas() on function and constructr…
|
2020-03-04 14:43:06 +01:00 |
|
Daniel Kirchner
|
919888ddbc
|
Use yul function for calldata tail access, fix checks and add additional revert reason.
|
2020-03-04 14:39:36 +01:00 |
|
Christian Parpart
|
27a4670ad8
|
Merge pull request #8408 from ethereum/utilFunctionsFromOldCodegen
Allow using YulUtilFunctions from old codegen
|
2020-03-04 14:27:26 +01:00 |
|
Djordje Mijovic
|
58c6b90705
|
Deprecated warning for .value() and .gas() on function and constructror calls
|
2020-03-04 12:51:49 +01:00 |
|
Daniel Kirchner
|
561e5d9b27
|
Rename variables and review suggestion.
|
2020-03-03 15:12:00 +01:00 |
|
Daniel Kirchner
|
24d6e6295e
|
Reuse the mechanism for abi functions and move tracking of used functions to CompilerContext
|
2020-03-03 15:11:18 +01:00 |
|
Leonardo
|
32ca1a5e26
|
Merge pull request #8311 from ethereum/smt_split_2
[SMTChecker] Change CHC encoding from explicit CFG to function forests
|
2020-03-03 13:16:14 +01:00 |
|
Leonardo Alt
|
3bee348525
|
Change CHC encoding to functions forest instead of explicit CFG
|
2020-03-03 12:12:26 +01:00 |
|
Leonardo Alt
|
96a230af50
|
[SMTChecker] Fix ICEs with tuples
|
2020-03-03 11:35:58 +01:00 |
|
Daniel Kirchner
|
90fa56c719
|
Allow use of yul util functions in legacy code generation.
|
2020-03-02 16:32:30 +01:00 |
|
chriseth
|
1488a1ceb8
|
Refactor isConstant to add "immutable".
|
2020-03-02 14:20:17 +01:00 |
|
chriseth
|
bb09787bd0
|
Merge pull request #8378 from mijovic/yulSourceLocations
Adding source location support to AssemblyStack
|
2020-02-25 22:34:57 +01:00 |
|
Djordje Mijovic
|
ec083c4878
|
Adding source location support to AssemblyStack and thus debugging Yul sources
|
2020-02-25 22:19:03 +01:00 |
|
chriseth
|
c5a0a434e2
|
Merge pull request #8374 from ethereum/writeAccessToSlot
Allow access to ``_slot`` for local storage pointer variables.
|
2020-02-25 22:11:13 +01:00 |
|
chriseth
|
45041e5d3a
|
Allow access to `_slot ` for local storage pointer variables.
|
2020-02-25 14:28:04 +01:00 |
|
Djordje Mijovic
|
8524e3f48d
|
Standard-JSON-Interface: Fix a bug (#8371) related to empty filenames and imports.
|
2020-02-25 01:07:36 +01:00 |
|
chriseth
|
c2e22d4cab
|
Merge pull request #8221 from ethereum/structured-docs-error-locations
[parser] Source locations for structured documentation errors
|
2020-02-18 14:57:28 +01:00 |
|
chriseth
|
663a9f892f
|
Merge pull request #8333 from ethereum/fix-8332
Use explicit variant constructor in direct list initializer
|
2020-02-18 14:46:31 +01:00 |
|
chriseth
|
64f9dc351e
|
Merge pull request #8337 from mijovic/assembly-multifile
Assembly: Added missing source field to legacy assembly json output
|
2020-02-18 12:47:19 +01:00 |
|
Djordje Mijovic
|
18dea6b69c
|
Assembly: Added missing source field to legacy assembly json output to complete the source reference
|
2020-02-18 10:22:34 +01:00 |
|
Bhargava Shastry
|
786c63ec3c
|
Use explicit type for variant constructor that is part of direct list initializer
|
2020-02-18 10:42:08 +05:30 |
|
Jason Cobb
|
6db0d50094
|
Don't use identifiers starting with an underscore followed by an uppercase letter
|
2020-02-17 12:44:39 -05:00 |
|
Erik Kundt
|
b43751d65e
|
Reports source location for structured documentation errors.
|
2020-02-14 15:21:39 +01:00 |
|
chriseth
|
99f88742d6
|
Merge pull request #8263 from ethereum/functionSelectorPure
Mark function selectors accessed via declaration as pure.
|
2020-02-14 12:34:39 +01:00 |
|
Daniel Kirchner
|
9f094d59b9
|
Mark function selector accesses as pure for pure expressions and mark function accesses via contract name as pure.
|
2020-02-14 12:33:33 +01:00 |
|
Christian Parpart
|
c92fe69a60
|
Finishes external call implementation.
|
2020-02-14 11:59:04 +01:00 |
|
Leonardo Alt
|
3800391a1a
|
[Yul] Support conditionals
|
2020-02-13 17:02:15 -04:00 |
|
Mathias L. Baumann
|
c635377450
|
Merge pull request #8313 from ethereum/checkFunctionsExistInIsoltest
Make type error fatal to prevent assert failure at later point
|
2020-02-13 16:08:13 +01:00 |
|
Mathias Baumann
|
8911b58a6d
|
Make type error fatal to prevent assert failure at later point
|
2020-02-13 15:16:28 +01:00 |
|
Leonardo
|
2cadf7ec5a
|
Merge pull request #8307 from ethereum/smt_split_1
[SMTChecker] Some refactoring
|
2020-02-12 15:25:56 -03:00 |
|
chriseth
|
1ea66fd1f8
|
Merge pull request #8301 from ethereum/fixPostTypeChecker
PostTypeChecker: ConstStateVarCircularReferenceChecker on function type state variables.
|
2020-02-12 18:40:19 +01:00 |
|
Daniel Kirchner
|
45f80e9895
|
Move assertion in PostTypeChecker's ConstStateVarCircularReferenceChecker to account for function type variables
|
2020-02-12 17:42:27 +01:00 |
|
Alexander Arlt
|
d0eeca8014
|
Fix CompilerStack::loadMissingSources()
- FatalError Exception was not caught
- fixes #8102
|
2020-02-12 11:22:11 -05:00 |
|
Leonardo Alt
|
d31a2a8d21
|
CHC clears indices so that initial is 0 and current is 1
|
2020-02-12 11:47:58 -03:00 |
|
Leonardo Alt
|
34d64761d9
|
Extract symbolicArguments function
|
2020-02-12 11:47:58 -03:00 |
|
Leonardo Alt
|
6451a4d2a0
|
Move VerificationTarget and add BMCVerificationTarget
|
2020-02-12 11:47:58 -03:00 |
|