Commit Graph

14533 Commits

Author SHA1 Message Date
Daniel Kirchner
7148792b8a Refactor ExpressionCompiler with acceptAndConvert. 2019-09-05 15:05:59 +02:00
chriseth
7f797bc6ae
Merge pull request #7342 from ethereum/extendedMemorySizeInterpreter
Make memory addresses wrap in interpreter.
2019-09-05 13:14:57 +02:00
Bhargava Shastry
96980d0bfe
Merge pull request #7357 from ethereum/fix-callcode-typo
Yul proto fuzzer: Fix typo in low level call
2019-09-05 10:19:42 +02:00
Bhargava Shastry
137a898eca Yul proto fuzzer: Fix typo in low level call 2019-09-04 21:14:26 +02:00
chriseth
5b4b4011c7 Extend memory beyond 32 byte addresses in interpreter. 2019-09-04 20:10:42 +02:00
chriseth
633932c5f1 Update tests. 2019-09-04 19:16:54 +02:00
chriseth
a8e8eaebcd Fix load resolver and properly take side-effects of user-defined
functions into account.
2019-09-04 19:16:54 +02:00
chriseth
edbec012ae Activate load resolver. 2019-09-04 19:16:54 +02:00
chriseth
049e950085
Merge pull request #7344 from ethereum/yul-add-more-blockchain-opcodes
Yul proto fuzzer: Additional blockchain opcodes
2019-09-04 19:14:43 +02:00
Bhargava Shastry
c889e6e015 Yul proto fuzzer: Add create and call opcodes 2019-09-04 19:13:40 +02:00
Bhargava Shastry
6b27ef8fcb Yul proto fuzzer: Additional blockchain opcodes 2019-09-04 19:13:40 +02:00
chriseth
7dd77784b7
Merge pull request #7335 from ethereum/abiSorting
Change ABI sorting order.
2019-09-04 17:18:27 +02:00
chriseth
fb53264240
Merge pull request #7341 from ethereum/nightly-gitter-notification
Add Gitter notifications for nightly builds and tests
2019-09-04 17:02:13 +02:00
Erik Kundt
b3dd957afd Adds Gitter notifications for nightly builds and tests. 2019-09-04 14:00:24 +02:00
Leonardo
dd2c003a3d
Merge pull request #7334 from ethereum/asm-safety
Add upper bound assert for PushSub/PushSubSize
2019-09-04 13:19:01 +02:00
chriseth
8485a1abec Change ABI sorting order. 2019-09-04 13:06:09 +02:00
chriseth
1fd744c777
Merge pull request #7318 from ethereum/yulproto-funcdef-stmt
Yulproto funcdef stmt
2019-09-04 12:43:21 +02:00
chriseth
c5fbf23faa
Merge pull request #7337 from ethereum/appveyorFailure
Try to fix appveyor run by chaning bytecode pull output from stderr to stdout.
2019-09-04 12:40:33 +02:00
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
Bhargava Shastry
bcf0c1810c Yul proto fuzzer: Do not reuse variable names 2019-09-02 15:23:10 +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
chriseth
a988b64597
Merge pull request #7312 from ethereum/fixInterpreterScopes
Fix handling of scopes in Yul Interpreter.
2019-09-02 12:05:33 +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
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