- 21 Jan, 2020 12 commits
-
-
Etienne Renault authored
If a Blackbox (BB) function modifies variable that is also used inside of a non-blackbox function the following problem occurs: the variable cannot be neither in the blackbox package neither in the normal package. We should try to resolve this problem by : (1) analysis wether variables are exclusively used by BB-fun (2) pass setter as additionnal argument to BB-functions Still for now it is preferable to forbbids BB and globals. * main.go, transform/checktype.go: Here.
-
Etienne Renault authored
* benchs/RERS/2016-Problem10.go, benchs/RERS/2016-Problem11.go, benchs/RERS/2016-Problem12.go, benchs/RERS/2016-Problem14.go, benchs/RERS/2016-Problem15.go, benchs/RERS/2017-Problem10.go, benchs/RERS/2017-Problem11.go, benchs/RERS/2017-Problem12.go, benchs/RERS/2017-Problem14.go, benchs/RERS/2017-Problem15.go, benchs/RERS/2018-Problem10.go, benchs/RERS/2018-Problem11.go, benchs/RERS/2019-Problem11.go, benchs/RERS/2019-Problem12.go, benchs/RERS/2019-Problem14.go, benchs/RERS/2019-Problem15.go, benchs/RERS/rers2go.sh, benchs/run-benchmark.sh: Here.
-
Etienne Renault authored
Thanks to A. Martin for this patch * transform/functiondefs.go: here.
-
Etienne Renault authored
* boilerplate/main.go, main.go: Here.
-
Etienne Renault authored
* main.go: Here.
-
Etienne Renault authored
In RERS challenges, file are written in C and the environment is modelled by scanf("%d",...). During the translation, this statement has been converted into __RERS__ = __RERS__ + 1, since this variable is only used to represents the environment. As a consequence, the option -rers "1;2;3" will modify the previous assignment in order to represent the environment. In other this instruction will be replaced by three assignment - __RERS__ = 1 - __RERS__ = 2 - __RERS__ = 3 while the instruction __RERS__ = __RERS__ + 1 will be discarded * boilerplate/main.go, main.go: Here.
-
Etienne Renault authored
* tools/blackbox.go: here.
-
Etienne Renault authored
* tools/blackbox.go: Here.
-
Etienne Renault authored
* tools/blackbox.go: here.
-
Etienne Renault authored
* boilerplate/main.go: Here.
-
hmoreau authored
* tests/prod_cons_simp.go: Here.
-
hmoreau authored
* boilerplate/main.go, channel/channel.go, decl/decl.go, main.go, transform/afterchannels.go, transform/channels.go: Here.
-
- 20 Jan, 2020 1 commit
-
-
hmoreau authored
* transform/channels.go: Here.
-
- 17 Jan, 2020 4 commits
-
-
hmoreau authored
Removing useless pass for testing if array are used or not * tests/passes/array.go, transform/checktype.go: Here.
-
hmoreau authored
In order to recover more easily where the channels are set up, a new package has been created, giving details about it. * boilerplate/main.go, channel/channel.go, decl/decl.go, main.go: Here.
-
hmoreau authored
Channels are now treated with all the other transform * main.go, transform/channels.go: Here.
-
hmoreau authored
For a better translations and uses of channels, when they are used in function calls, temporary variables are created. * transform/channels.go: Here.
-
- 14 Jan, 2020 1 commit
-
-
hmoreau authored
* transform/channels.go: Here.
-
- 13 Jan, 2020 4 commits
-
-
hmoreau authored
Before, transform/channels.go used to convert only BinaryExpr, now all expression are converted into array assignments. * transform/channels.go: Here.
-
hmoreau authored
* transform/checktype.go: Here.
-
hmoreau authored
* transform/arraytreatment.go: Here.
-
hmoreau authored
* transform/arraytreatment.go: Here.
-
- 18 Dec, 2019 5 commits
-
-
hmoreau authored
* transform/channels.go: Here.
-
hmoreau authored
This part need to be improved because, UnaryExpr can be used in function call, assignment and other, for the moment, the status is only updated, this part need to be focused on the successor gen. * transform/channels.go: Here.
-
hmoreau authored
Merge branch 'am/goroutines-rebase' of https://gitlab.lrde.epita.fr/spot/go2pins into am/goroutines-rebase
-
hmoreau authored
* transform/channels.go: Here.
-
Etienne Renault authored
* boilerplate/Makefile: Here.
-
- 13 Dec, 2019 3 commits
-
-
hmoreau authored
In order to facilitate channel transformation process, a new struct has been created `chanInfo` : ``` type chanInfo struct { local, global string index int } ``` With this, we can easily find the original name of the channel if it is different in the function. The index indicates where the function is in the array of states and values. * transform/channels.go: Here.
-
hmoreau authored
-
Etienne Renault authored
This patch provide a support for LTSmin except for partial order reductions. * boilerplate/go2pins.c, boilerplate/go2pins.h, boilerplate/main.go: here.
-
- 12 Dec, 2019 2 commits
- 11 Dec, 2019 2 commits
- 09 Dec, 2019 3 commits
- 04 Dec, 2019 1 commit
-
-
hmoreau authored
* main.go, transform/channels.go: Here.
-
- 03 Dec, 2019 1 commit
-
-
hmoreau authored
* transform/channels.go: Here.
-
- 29 Nov, 2019 1 commit
-
-
hmoreau authored
use `./go2pins -chaninfo <file>` to display channel information * main.go, transform/channels.go: Here.
-