1. 30 Mar, 2021 1 commit
  2. 21 Feb, 2021 1 commit
    • Hugo Moreau's avatar
      Blackbox using state vector · c2227c10
      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.
      c2227c10
  3. 22 Jan, 2020 1 commit
    • Etienne Renault's avatar
      licence: fix typo · d61af8ba
      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.
      d61af8ba
  4. 21 Jan, 2020 2 commits
    • Etienne Renault's avatar
      licence: add it everywhere · 19c5b2f2
      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.
      19c5b2f2
    • Etienne Renault's avatar
      Blackbox and global variables are not supported. · 152a00a4
      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.
      152a00a4
  5. 17 Jan, 2020 1 commit
    • Hugo Moreau's avatar
      Array are supported · b42012d0
      Hugo Moreau authored
      Removing useless pass for testing if array are used or not
      
      * tests/passes/array.go,
        transform/checktype.go: Here.
      b42012d0
  6. 13 Jan, 2020 1 commit
  7. 28 Nov, 2019 1 commit
  8. 25 Nov, 2019 1 commit
  9. 19 Nov, 2019 1 commit
  10. 15 Nov, 2019 1 commit
  11. 16 Oct, 2019 1 commit
    • Hugo Moreau's avatar
      Blackbox tool created · a27957f9
      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.
      a27957f9
  12. 11 Oct, 2019 2 commits
    • Hugo Moreau's avatar
      Handling argumentless functions · c2ed5fb1
      Hugo Moreau authored
      * tests/passes/noargument.go : Removed.
      * transform/cfg/functioncalls.go,
        transform/checktype.go : Here.
      c2ed5fb1
    • Hugo Moreau's avatar
      Variable name handled · e0baaeb7
      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.
      e0baaeb7
  13. 03 Oct, 2019 1 commit
    • Hugo Moreau's avatar
      Parameterless function pass created · 72b832c3
      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.
      72b832c3
  14. 23 Sep, 2019 14 commits
  15. 16 Sep, 2019 2 commits
  16. 12 Sep, 2019 4 commits
  17. 11 Sep, 2019 5 commits