Skip to content
Snippets Groups Projects
  1. Nov 22, 2021
  2. Nov 03, 2021
    • Basile Desloges's avatar
      [eacsl] Update default stack and heap size · 8a6e2dfa
      Basile Desloges authored
      - The default values in `e-acsl-gcc.sh` are removed to always use those
        in `e_acsl_shadow_layout.h`
      - The default values in `e_acsl_shadow_layout.h` are set to the values
        that were in `e-acsl-gcc.sh` since they were the values actually used
        by default.
      8a6e2dfa
  3. Oct 20, 2021
  4. Sep 03, 2021
  5. Apr 07, 2021
    • Basile Desloges's avatar
      [eacsl] Deactivate PIE in debug mode · 7c213a70
      Basile Desloges authored
      When the executable is linked with PIE, it is not possible for E-ACSL
      to produce an accurate backtrace. This commit deactivate PIE if
      e-acsl-gcc.sh compiles in debug mode.
      7c213a70
  6. Feb 23, 2021
    • Basile Desloges's avatar
      [eacsl] Look for Frama-C in more places in wrapper script · 2b4d2495
      Basile Desloges authored
      The `e-acsl-gcc.sh` only looked for the Frama-C executable in the
      `$PATH`. This commit updates the search for Frama-C to be able
      to detect the binary if installed in a folder not added to the path,
      or if running the script from the development sources.
      2b4d2495
  7. Feb 09, 2021
  8. Dec 09, 2020
  9. Nov 17, 2020
  10. Oct 14, 2020
  11. Sep 14, 2020
  12. Aug 27, 2020
  13. Mar 06, 2020
  14. Nov 28, 2019
  15. Nov 04, 2019
  16. Aug 02, 2019
    • Fonenantsoa Maurica's avatar
      Extend Interval, Typing and Translate: · ad8d968c
      Fonenantsoa Maurica authored and Julien Signoles's avatar Julien Signoles committed
        - 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
  17. Nov 22, 2018
  18. Oct 15, 2018
  19. Apr 12, 2018
  20. Feb 20, 2018
  21. Dec 18, 2017
  22. Nov 28, 2017
  23. Aug 02, 2017
Loading