Kamil Śliwak
5e814acc3c
[yul-phaser] TestHelpers: Add TemporaryDirectory class
2020-03-18 13:30:58 +01:00
Kamil Śliwak
5e00b57e02
[yul-phaser] Add --population option
2020-03-18 13:30:58 +01:00
Kamil Śliwak
af090876b5
[yul-phaser] Add --random-population option
2020-03-18 13:30:58 +01:00
Kamil Śliwak
d8e5f8f965
[yul-phaser] Add --rounds option
2020-03-18 13:30:58 +01:00
Kamil Śliwak
63f13c5b18
[yul-phaser] Add --chromosome-repetitions option
2020-03-18 13:30:58 +01:00
chriseth
cfd315e17d
Merge pull request #8422 from imapp-pl/yul-phaser-error-handling
...
[yul-phaser] Error handling
2020-03-18 13:09:53 +01:00
chriseth
1587486334
Merge tag 'v0.5.17' into develop
2020-03-17 19:50:09 +01:00
chriseth
d19bba1319
Set version to 0.5.17.
2020-03-17 17:45:53 +01:00
chriseth
92949bb63b
Merge pull request #8455 from ethereum/private-inherit
...
Prevent private functions from being overridden
2020-03-17 17:30:10 +01:00
Mathias Baumann
e2db9d7ef3
Disallow private functions from being overridden
2020-03-17 16:15:59 +01:00
chriseth
435c9dae71
Merge pull request #8290 from gitpusha/docs-update-staticcall-gascounting
...
added note about gas counting and its effect on staticall.gas(gasLimi…
2020-03-17 10:47:30 +01:00
Kamil Śliwak
760e7c3cc5
[yul-phaser] Don't return exit code from Phaser::main() and just assume 0 if it does not throw.
2020-03-16 20:32:59 +01:00
Kamil Śliwak
d86b5019dc
[yul-phaser] Phaser: Returning exit code 0 instead of 2 when --help is requested
...
- I don't think we really need to discern it from normal operation. It's what user requested so it's a success.
2020-03-16 20:32:59 +01:00
Kamil Śliwak
f05a07d0cc
[yul-phaser] Create BadInput exception hierarchy and make exceptions used by Phaser more specific
2020-03-16 20:32:59 +01:00
Kamil Śliwak
53803801f7
[yul-phaser] Move handling of boost::program_options::error to the top-level exception handler
2020-03-16 20:32:59 +01:00
Kamil Śliwak
4e90c598b3
[yul-phaser] main: Dealing with uncaught exceptions
2020-03-16 20:32:59 +01:00
Kamil Śliwak
c7051e1386
[yul-phaser] Program: Explicitly return variants values
...
- Otherwise the code fails to build with on GCC 7.4.0 on Ubuntu in the CI pipeline
2020-03-16 20:32:59 +01:00
Kamil Śliwak
8ca0d90aae
[yul-phaser] Returning an ErrorList from Program::load() if program has errors and printing them in Phaser
2020-03-16 20:32:59 +01:00
Kamil Śliwak
9ef63a9789
[yul-phaser] Program: Output operator for ErrorList
...
- It does not seem universal enough to put it in liblangutil but in the scope of yul-phaser it's generic enough so I'm going to keep it together with Program.
2020-03-16 20:32:59 +01:00
gitpusha
1b63b8822e
Added note recommending to avoid relying on hardcoded gas values
2020-03-16 18:22:32 +01:00
chriseth
e5a49e2556
Merge pull request #8496 from ethereum/fixdoclinks
...
Fix broken yul-object link in docs
2020-03-16 17:54:29 +01:00
Mathias Baumann
4d99a54d05
Fix broken yul-object link in docs
2020-03-16 17:34:18 +01:00
chriseth
d45e6aa24c
Merge pull request #8421 from imapp-pl/yul-phaser-refactor-main
...
[yul-phaser] Refactoring in main
2020-03-16 16:31:26 +01:00
chriseth
69fdae5a7e
Merge pull request #8457 from ethereum/add-to-bug-list
...
Add private-can-be-overridden bug to buglist
2020-03-16 15:59:51 +01:00
chriseth
4e4a3da920
Merge pull request #8481 from aarlt/add-show-metadata
...
Add --show-metadata to enable metadata output.
2020-03-16 14:25:42 +01:00
Mathias Baumann
151bc71f49
Add private-can-be-overridden bug to buglist
2020-03-16 12:23:57 +01:00
chriseth
e21567c130
Merge pull request #8494 from random-internet-cat/vector-ref-reinterpret
...
Remove byte-reinterpret conversion operator from vector_ref
2020-03-16 11:34:49 +01:00
Jason Cobb
4fcc33c5e5
Remove byte-reinterpret conversion operator from vector_ref
2020-03-15 18:38:59 -04:00
Daniel Kirchner
362c2175bf
Merge pull request #8474 from mijovic/sol2YulCallDataIndexRangeAccess
...
[Sol->Yul] Adding slicing for call data arrays
2020-03-13 16:33:32 +01:00
Djordje Mijovic
96d278b101
[Sol->Yul] Adding slicing for call data arrays
2020-03-13 13:40:38 +01:00
Kamil Śliwak
98fcba8ef3
[yul-phaser] Phaser: Reimplement << and >> operators using serializeChoice() and deserializeChoice()
2020-03-13 11:21:23 +01:00
Kamil Śliwak
deaf1d0c6f
[yul-phaser] Add serializeChoice() and deserializeChoice()
2020-03-13 11:21:23 +01:00
Kamil Śliwak
0c3de9ef99
[yul-phaser] Add Common module
2020-03-13 11:21:23 +01:00
Kamil Śliwak
099299c5e7
[yul-phaser] Rename Common to Helpers in tests (update references)
2020-03-13 11:21:23 +01:00
Kamil Śliwak
d01dab7b7c
[yul-phaser] Rename Common to Helpers in tests (file move)
...
- I want to add Common.h in the non-test code and it's getting confusing. I think it's better to have them named differently.
2020-03-13 11:21:23 +01:00
Kamil Śliwak
a80512a71d
[yul-phaser] Phaser: Name option parameters in command-line help
2020-03-13 11:21:23 +01:00
Kamil Śliwak
df90cf5d7a
[yul-phaser] Phaser: Make all option descriptions consistenly end with a full stop
2020-03-13 11:21:23 +01:00
Kamil Śliwak
ffc21632b6
[yul-phaser] Phaser: Split command-line option description into groups
2020-03-13 11:21:23 +01:00
Kamil Śliwak
7cf5c4e266
[yul-phaser] Phaser: Extract preparation of option description into a separate function
2020-03-13 11:21:23 +01:00
Kamil Śliwak
2d177c7623
[yul-phaser] Phaser: Refactor object creation in runAlgorithm() into a set of factories
2020-03-13 11:21:23 +01:00
Kamil Śliwak
25e81f6bd3
[yul-phaser] AlgorithmRunner: Count rounds from 1
2020-03-13 11:21:23 +01:00
Kamil Śliwak
2110bf10cf
[yul-phaser] AlgorithmRunner: Create a structure to store runner's options
2020-03-13 11:21:23 +01:00
Kamil Śliwak
b8244f6a43
[yul-phaser] Extract the code that controls execution of algorithm rounds from GeneticAlgorithm into AlgorithmRunner
2020-03-13 11:21:23 +01:00
Kamil Śliwak
0c1b88508e
[yul-phaser] Refactor the code from main into a Phaser class
2020-03-13 11:21:23 +01:00
Kamil Śliwak
3e3887dc9a
[yul-phaser] main: Add missing underscores to parameter names
2020-03-13 11:21:23 +01:00
Alexander Arlt
9d67edb163
Add --show-metadata to enable metadata output.
2020-03-12 13:39:29 -05:00
chriseth
a1cc2504ba
Merge pull request #8444 from ethereum/immutable2
...
Parsing of immutable state variable.
2020-03-12 18:37:38 +01:00
chriseth
fa148f2483
Parsing of immutable state variable.
2020-03-12 17:11:24 +01:00
chriseth
f8f18f2e55
Merge pull request #8480 from a3d4/fix-8418-astutils-compiler-error
...
Replaced "assert" with "if"
2020-03-12 15:19:54 +01:00
chriseth
47b72032c6
Merge pull request #8328 from imapp-pl/yul-phaser-gewep-algorithm
...
[yul-phaser] GEWEP algorithm
2020-03-12 14:54:33 +01:00