- 30 Mar, 2021 1 commit
-
-
Hugo Moreau authored
Multidimensional arrays are not treated yet, so a panic is triggered if go2pins encounters one. * transform/checktype.go : Here.
-
- 21 Feb, 2021 1 commit
-
-
Hugo Moreau authored
Blackboxed functions are now able to handle global variables, by using G2PState as a reference. * main.go, tools/blackbox.go, transform/checktype.go, transform/global.go, transform/globaltostate.go, transform/localvariableassignments.go, transform/postglobal.go : Here.
-
- 22 Jan, 2020 1 commit
-
-
Etienne Renault authored
* Makefile, benchs/RERS/rers2go.sh, benchs/run-benchmark.sh, boilerplate/Makefile, boilerplate/go2pins.c, boilerplate/go2pins.h, boilerplate/main.go, cspinfo/channel.go, cspinfo/goroutine.go, decl/decl.go, main.go, tests/array.go, tests/concurrent_fibonacci.go, tests/digit_count.go, tests/emptycall.go, tests/facto.go, tests/fibonacci.go, tests/if.go, tests/mywhile.go, tests/passes/channels.go, tests/passes/funcIntArrayArgs.go, tests/passes/goroutineOutsideMain.go, tests/passes/interface.go, tests/passes/map.go, tests/passes/notint.go, tests/passes/panic.go, tests/passes/pointer.go, tests/passes/select.go, tests/passes/slices.go, tests/passes/struct.go, tests/passes/switch.go, tests/passes/variablename.go, tests/prod_cons_simp.go, tests/recursion/multirec.go, tests/recursion/rec_facto.go, tests/run.sh, tools/blackbox.go, tools/callgraph.go, tools/extract_goroutines/main.go, tools/formating.go, tools/print_ast.go, tools/recursion.go, transform/afterchannels.go, transform/alive.go, transform/arithmeticcall.go, transform/arraytreatment.go, transform/cfg/build.go, transform/cfg/eliminatecallexprstmt.go, transform/cfg/functioncalls.go, transform/cfg/linkresults.go, transform/cfg/transform.go, transform/cfg/types.go, transform/channels.go, transform/checktype.go, transform/conditionnalccall.go, transform/elsefull.go, transform/format.go, transform/functiondefs.go, transform/goroutine.go, transform/injectdecls.go, transform/localvariableassignments.go, transform/meta.go, transform/normalizedeclarations.go, transform/regularizedaffect.go, transform/routineassignments.go, transform/routinecounter.go, transform/util.go, transform/visitor.go: Here.
-
- 21 Jan, 2020 2 commits
-
-
Etienne Renault authored
Makefile, benchs/RERS/rers2go.sh, benchs/run-benchmark.sh, boilerplate/Makefile, boilerplate/go2pins.c, boilerplate/go2pins.h, boilerplate/main.go, channel/channel.go, decl/decl.go, goroutine/goroutine.go, main.go, tests/array.go, tests/concurrent_fibonacci.go, tests/digit_count.go, tests/facto.go, tests/fibonacci.go, tests/mywhile.go, tests/passes/channels.go, tests/passes/funcIntArrayArgs.go, tests/passes/goroutineOutsideMain.go, tests/passes/interface.go, tests/passes/map.go, tests/passes/notint.go, tests/passes/panic.go, tests/passes/pointer.go, tests/passes/select.go, tests/passes/slices.go, tests/passes/struct.go, tests/passes/switch.go, tests/passes/variablename.go, tests/prod_cons.go, tests/prod_cons_simp.go, tests/recursion/multirec.go, tests/recursion/rec_facto.go, tools/blackbox.go, tools/callgraph.go, tools/extract_goroutines/main.go, tools/formating.go, tools/print_ast.go, tools/recursion.go, transform/afterchannels.go, transform/alive.go, transform/arithmeticcall.go, transform/arraytreatment.go, transform/cfg/build.go, transform/cfg/eliminatecallexprstmt.go, transform/cfg/functioncalls.go, transform/cfg/linkresults.go, transform/cfg/transform.go, transform/cfg/types.go, transform/channels.go, transform/checktype.go, transform/elsefull.go, transform/format.go, transform/functiondefs.go, transform/goroutine.go, transform/injectdecls.go, transform/localvariableassignments.go, transform/meta.go, transform/normalizedeclarations.go, transform/regularizedaffect.go, transform/routineassignments.go, transform/routinecounter.go, transform/util.go, transform/visitor.go: Here.
-
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.
-
- 17 Jan, 2020 1 commit
-
-
Hugo Moreau authored
Removing useless pass for testing if array are used or not * tests/passes/array.go, transform/checktype.go: Here.
-
- 13 Jan, 2020 1 commit
-
-
Hugo Moreau authored
* transform/checktype.go: Here.
-
- 28 Nov, 2019 1 commit
-
-
Hugo Moreau authored
* tests/passes/funcIntArrayArgs.go, transform/checktype.go: Here.
-
- 25 Nov, 2019 1 commit
-
-
Hugo Moreau authored
* transform/checktype.go: Here.
-
- 19 Nov, 2019 1 commit
-
-
Hugo Moreau authored
* transform/checktype.go: Here.
-
- 15 Nov, 2019 1 commit
-
-
Hugo Moreau authored
In order to integrate global variables, a new pass has been created in order to ignore non-integer values. * transform/checktype.go : Here.
-
- 16 Oct, 2019 1 commit
-
-
Hugo Moreau authored
go2pins can now a function in the process of compiling Need to improve to ignore multiple functions * transform/checktype.go, tools/blackbox.go, main.go : Here.
-
- 11 Oct, 2019 2 commits
-
-
Hugo Moreau authored
* tests/passes/noargument.go : Removed. * transform/cfg/functioncalls.go, transform/checktype.go : Here.
-
Hugo Moreau authored
We do not support variable name containing "G2P_tmp_", because we use them in our transform. A test have been created to check it. * transform/checktype.go, tests/passes/variablename.go : Here.
-
- 03 Oct, 2019 1 commit
-
-
Hugo Moreau authored
go2pins does not support yet parameterless function in order to fix it later, a pass has been created * transform/checktype.go, tests/passes/noargument.go : Here.
-
- 23 Sep, 2019 14 commits
-
-
Hugo Moreau authored
All "os.Exit" have been replaced by "panic". * transform/checktype.go
-
Hugo Moreau authored
After a little review, for a better understunding, we decided to sort every case alphanumericly.
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
- 16 Sep, 2019 2 commits
-
-
Hugo Moreau authored
All "os.Exit" have been replaced by "panic". * transform/checktype.go
-
Hugo Moreau authored
After a little review, for a better understunding, we decided to sort every case alphanumericly.
-
- 12 Sep, 2019 4 commits
-
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
- 11 Sep, 2019 5 commits
-
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-
Hugo Moreau authored
-