Commit Graph

14564 Commits

Author SHA1 Message Date
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
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
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
Alex Beregszaszi
5749a5d7c9 Introduce istanbul and berlin versions 2019-08-26 13:15:01 +01:00
Leo Arias
d95252faf1
Add wget to the build packages of the snap
This is required to download antlr for cvc4:
323d5faa1f/contrib/get-antlr-3.4 (L23)
2019-08-26 06:07:54 -06:00
Bhargava Shastry
922790730c Do not create duplicate case statements 2019-08-26 12:44:06 +02:00
Bhargava Shastry
86c981d9fa proto fuzzer: Use a yul optimizer dictionary 2019-08-26 12:44:06 +02:00
Erik K
d47863ef35
Merge pull request #7300 from ethereum/fix-docCheck
Fix deprecated option style for docCheck
2019-08-26 12:23:03 +02:00
Mathias L. Baumann
e1bb4b9f81
Merge pull request #7280 from ethereum/isoltest-empty-revert
[isoltest] Support empty revert message
2019-08-26 11:45:36 +02:00
Mathias Baumann
7f6bb543a9 Fix deprecated option style for docCheck
solhint was updated and now warns about deprecated option values
2019-08-26 11:23:29 +02:00
Erik Kundt
755dae5d66 [isoltest] Supports empty revert message. 2019-08-26 11:06:30 +02:00
Leonardo
bb104546e1
Merge pull request #7298 from ethereum/smt_fix_division
[SMTChecker] Adapt division test for Z3 only
2019-08-24 11:40:49 +02:00
Leonardo Alt
c27235b2f5 [SMTChecker] Adapt division test for Z3 only 2019-08-23 17:33:29 +02:00