Commit Graph

15436 Commits

Author SHA1 Message Date
Daniel Kirchner
ef407ea896 Try to fix appveyor run by chaning bytecode pull output from stderr to stdout. 2019-09-04 10:57:01 +02:00
Bhargava Shastry
fce65ec811 Randomize calldataload and storage slots and use dictionary tokens as function argument 2019-09-04 09:54:57 +02:00
Bhargava Shastry
d066ba71a4 Force call of every valid func declaration 2019-09-04 09:54:57 +02:00
Bhargava Shastry
4837ef4ada Yul proto fuzzer: Make function definition a statement 2019-09-04 09:54:36 +02:00
Alex Beregszaszi
59df7dbc1b Add upper bound assert for PushSub/PushSubSize 2019-09-03 16:40:34 +01:00
Alex Beregszaszi
dce52509b4
Merge pull request #7329 from ethereum/istanbul
Introduce istanbul and berlin versions
2019-09-03 15:18:14 +01:00
chriseth
ea4ea5ae5d
Merge pull request #7333 from ethereum/yulopti_add_load_resolver
Add Load Resolver to Yulopti
2019-09-03 16:12:31 +02:00
chriseth
4f68cd4946
Merge pull request #7331 from guilhermejcgois/patch-1
Fix typo in AssemblySwitch in grammar file
2019-09-03 15:56:59 +02:00
chriseth
ebd16eb142
Merge pull request #7321 from ethereum/smt_const_array
[SMTChecker] Zero-initialize arrays
2019-09-03 15:51:59 +02:00
Leonardo Alt
d131784714 Add Load Resolver to Yulopti 2019-09-03 15:51:33 +02:00
Gois
f9459fcda9
Fix typo in AssemblySwitch in grammar file 2019-09-03 09:05:25 -03:00
chriseth
6e4e54cbc6
Merge pull request #7309 from ethereum/yulproto-refactor
Yul proto fuzzer: Do not shadow variables
2019-09-03 12:29:13 +02:00
chriseth
029941a168
Merge pull request #7251 from ethereum/sideEffectsForUserDefinedFunctions
Side effects for user defined functions
2019-09-03 12:10:56 +02:00
chriseth
d1831b159d
Merge pull request #7330 from ethereum/fix-yuli-mload
Yul interpreter: Out of bounds mloads return zero
2019-09-03 11:20:21 +02:00
Bhargava Shastry
6427ec661a Yul interpreter: Out of bounds mloads return zero 2019-09-03 09:51:15 +02:00
Leonardo Alt
a51577facf Fix Windows build 2019-09-02 22:37:30 +02:00
Leonardo Alt
a774b2d905 [SMTChecker] Zero-initialize arrays 2019-09-02 22:37:30 +02:00
chriseth
635f638fde Changelog entry. 2019-09-02 17:41:51 +02:00
chriseth
55024d40fe Test updates. 2019-09-02 17:41:51 +02:00
chriseth
127bcfc69d Take user function side-effects into account for unused pruner. 2019-09-02 17:41:51 +02:00
chriseth
1c5845e3f2 Side-effects of user-defined functions. 2019-09-02 17:41:51 +02:00
chriseth
c499758cd8
Merge pull request #7326 from ethereum/develop
Merge develop into 0.6.0 branch.
2019-09-02 16:11:20 +02:00
Bhargava Shastry
bcf0c1810c Yul proto fuzzer: Do not reuse variable names 2019-09-02 15:23:10 +02:00
chriseth
ac5498bb88
Merge pull request #7267 from ethereum/globalStruct
Allow global struct definitions.
2019-09-02 15:07:12 +02:00
chriseth
9a6357ab09
Merge pull request #7188 from ethereum/abiv2-use-bytes-string-longer-than-32-bytes
Abiv2 use bytes string longer than 32 bytes
2019-09-02 15:05:43 +02:00
chriseth
53fc5bef10
Merge pull request #7240 from rocky/add-clang-format
.clang-format for the C++ style used in Solidity
2019-09-02 14:41:13 +02:00
rocky
7291e12226 Approximate .clang-format for the C++ style used 2019-09-02 14:41:06 +02:00
chriseth
09b03fa07d
Merge pull request #7325 from ethereum/arbitraryMemoryForInterpreter
Change interpreter memory to be non-contiguous.
2019-09-02 14:27:01 +02:00
chriseth
bdf29277a2 Change interpreter memory to be non-contiguous. 2019-09-02 13:51:47 +02:00
Bhargava Shastry
46a133e848 Generate bytes and string literals that are longer than 32 bytes 2019-09-02 12:43:47 +02:00
Daniel Kirchner
467d420f7e ABI and AST tests. 2019-09-02 12:23:21 +02:00
chriseth
a988b64597
Merge pull request #7312 from ethereum/fixInterpreterScopes
Fix handling of scopes in Yul Interpreter.
2019-09-02 12:05:33 +02:00
Daniel Kirchner
c5eedc9e0b Changelog entry. 2019-09-02 12:01:09 +02:00
Daniel Kirchner
2b938d703c Allow global enum definitions. 2019-09-02 11:52:51 +02:00
Bhargava Shastry
3963d0ca02 Create bytes/string values of shorter than 32 bytes and adjust invalid encoding length accordingly 2019-09-02 11:30:38 +02:00
Daniel Kirchner
fae0e10d26 Import tests. 2019-09-02 11:17:57 +02:00
Daniel Kirchner
872d21f527 Allow global struct definitions. 2019-09-02 11:17:42 +02:00
chriseth
3c963eb00e
Merge pull request #7316 from ethereum/addByteOpt
Replace byte(A, X) by zero if A >= 32
2019-09-02 10:50:26 +02:00
chriseth
01e0a12c3b Fix handling of scopes in Yul Interpreter. 2019-09-02 10:41:26 +02:00
chriseth
e86b5cf14e Replace byte(A, X) by zero if A >= 32 2019-08-29 15:35:34 +02:00
Leonardo
459aed90e0
Merge pull request #7311 from ethereum/asan_no_smt
Disable SMT tests for ASan
2019-08-29 15:32:19 +02:00
Leonardo Alt
bd5a70e0d1 disable asan smt 2019-08-29 14:18:34 +02:00
chriseth
a82fbf7322
Merge pull request #7313 from ethereum/chriseth-patch-1
[DOCS] Protection to not lose money.
2019-08-28 20:21:43 +02:00
chriseth
dc4a44fb7f
Protection to not lose money. 2019-08-28 17:00:15 +02:00
Leonardo
e74b63b6de
Merge pull request #7306 from ethereum/smt_fix_type_expression
[SMTChecker] Fix index access type type error
2019-08-28 15:54:30 +02:00
Leonardo Alt
214e5c6369 [SMTChecker] Fix index access type type error 2019-08-27 16:39:19 +02:00
Mathias L. Baumann
25a3a83b34
Merge pull request #7233 from ethereum/override-5424
Implement parsing of override keyword
2019-08-26 18:12:28 +02:00
Mathias Baumann
24716404f8 Parse override keyword 2019-08-26 17:34:21 +02:00
Bhargava Shastry
a54d69b8ef
Merge pull request #7286 from ethereum/protofuzzer_input_generation
proto fuzzer: Use a yul optimizer dictionary
2019-08-26 16:08:14 +02:00
Erik K
fd58ca0676
Merge pull request #7301 from elopio/patch-6
Add wget to the build packages of the snap
2019-08-26 15:14:10 +02:00