1. 09 Jan, 2020 1 commit
  2. 16 Dec, 2019 1 commit
  3. 04 Nov, 2019 1 commit
  4. 28 Aug, 2019 2 commits
  5. 27 Aug, 2019 1 commit
  6. 23 Aug, 2019 3 commits
  7. 02 Aug, 2019 2 commits
    • Julien Signoles's avatar
      [rational] rename Libr to Real · 0324062d
      Julien Signoles authored
      0324062d
    • Fonenantsoa Maurica 's avatar
      Extend Interval, Typing and Translate: · ad8d968c
      Fonenantsoa Maurica authored
        - Interval:
          - Not_an_integer -> Is_a_real|Not_a_number.
          - infer -> infer_with_real
            because Not_a_number has priority over Is_a_real
          - Ival.bottom when Is_a_real
            because the interval is for integers
        - Typing:
          - integer_ty -> number_ty=Cty|Gmpz|Libr|Nan
          - Other -> 'Other (Oreal|Onan)'
        - Translate:
          Encode real constants into strings:
            - **NO** conversion to float-point type
            - strnum_ty=StrZ|StrR|Not_a_strnum
              for tracking the type of the string
      Add Libr:
        - Gmpz -> Gmp=Gmpz+Gmpq
        - Libr=ref to Gmpq
      Add Gmpq builtins:
        - Custom mini-gmp -> libgmp
          because mini-gmp has no support for Q
        - Add arithmetic over Q in e_acsl_gmp_api.h
      Misc:
        - dec_to_frac: decimal expansion to fractional representation
          because decimal expansion is interpreted as double by Gmpq
      Tests:
        - BTS 1307 has an assertion wrongly evaluated, fixed
        - Add tests/gmp/reals.c
      THE MOST IMPORTANT TODO:
        - Completely hide the library for numbers (currently Gmp)
          inside Libr: Typing, Env and Translate should only know
          Libr and never directly call Gmp.
          This is crucial for extending E-ACSL in the future
          (eg: Gmp has no support for elementary functions), and
          also for using it as part of an abstract compiler
          (eg: with Fldlib)
          For the time being, in Translate,
          we have something as ugly as:
            let init_set =
              if Libr.is_t ty then Libr.init_set
              else Gmp.init_set
      ad8d968c
  8. 29 Apr, 2019 2 commits
  9. 22 Nov, 2018 2 commits
  10. 15 Oct, 2018 1 commit
  11. 03 Oct, 2018 2 commits
    • Fonenantsoa Maurica 's avatar
      Addresses Julien's review no.1: · c9f1976f
      Fonenantsoa Maurica authored
      - No superfluous white space
      - No camel case
      - No unauthorized open
      - Longic_const.tinteger -> Cil.lone, Cil.lzero
      - lscope -> Lscope.t
      - lscope becomes abstract
      - 'with non-void logic scope' -> 'on purely logical variables'
      - Make lscope be part of env
      - Discard all the translation in a new module: At_with_lscope
      - No extra variable for size
      - Cil.(theMachine.typeOfSizeOf) instead of Cil.intType
      - No superfluous block for storing_loops
      - mem_infos -> memory_infos
      - Prevent GMP result (actually already done previously)
      - record for malloc and free
      - H_malloc_free = Cil_datatype.Fundec.Hashtbl
      - dedicated insert_malloc_and_free_stmts in Visit
      - Kernel_function.is_entry_point for testing main function
      - no visit in term_has_lv_from_vi and effective_lscope_from_pot
      - term_has_lv_from_vi moved to Misc
      - Passing kf to add_malloc_and_free_stmt instead of fundec
      - Less @ during the insertion of free stmts
      - ty_array -> ty_ptr
      - Typos
      - Comments on:
        - Exported functions in MLIs
        - Computation of pre in put_block_at_label
        - Use of global scope for Env.Varname.get
        - Description of mk_storing_loops
        - New binding in mk_storing_loops
        - Description of effective_lscope_from_pred_or_term
        - Motivation of the over-approximation on t_size
      c9f1976f
    • Fonenantsoa Maurica 's avatar
      \at with non-void logic scope. · 26cef0ce
      Fonenantsoa Maurica authored
      26cef0ce
  12. 18 Sep, 2018 1 commit
  13. 12 Apr, 2018 1 commit
  14. 05 Dec, 2017 1 commit
  15. 12 Apr, 2017 1 commit
  16. 01 Mar, 2017 3 commits
  17. 31 Aug, 2016 1 commit
  18. 17 Jun, 2016 1 commit
  19. 13 Jun, 2016 1 commit
  20. 09 Jun, 2016 12 commits