Skip to content
Snippets Groups Projects
  1. Mar 10, 2022
  2. Mar 08, 2022
  3. Mar 02, 2022
  4. Feb 18, 2022
  5. Feb 17, 2022
  6. Feb 15, 2022
    • Andre Maroneze's avatar
      [Libc] add stdalign.h · a8a81bfa
      Andre Maroneze authored
      Frama-C does not yet support _Alignof and _Alignas, but this header helps
      parsing code and emitting a proper error message.
      a8a81bfa
  7. Feb 09, 2022
  8. Feb 08, 2022
  9. Jan 26, 2022
  10. Jan 25, 2022
  11. Jan 20, 2022
  12. Jan 14, 2022
  13. Jan 13, 2022
  14. Jan 06, 2022
  15. Dec 21, 2021
  16. Dec 10, 2021
  17. Dec 03, 2021
  18. Nov 24, 2021
  19. Nov 18, 2021
    • Andre Maroneze's avatar
      [Libc] avoid spurious uninitialized warnings from the compiler · a3eb75e3
      Andre Maroneze authored
      Clang 13 emits warnings related to uninitialized variables:
      
      variable 'r' is used uninitialized whenever 'if'
      condition is false [-Wsometimes-uninitialized]
      
      This is due to the fact that the assert(0) macro, when using Frama-C's libc,
      is expanded to __FC_assert. Since it is not known by the compiler, it cannot
      consider it as "noreturn" when the condition is zero. Note that adding
      '__attribute__ ((__noreturn__))' will not work: Frama-C will assume it
      never returns, even when the condition is true.
      Initializing the 'r' variables with a default value will not change the
      actual behavior, and will avoid the warnings.
      a3eb75e3
  20. Nov 02, 2021
  21. Oct 19, 2021
  22. Oct 13, 2021
  23. Oct 12, 2021
    • David Bühler's avatar
      [Eva] Emits indeterminate alarms on call arguments to builtins. · d80e4a34
      David Bühler authored
      'Indeterminate' alarms are alarms about uninitialized memory, escaping pointers
      and special floating-point values (infinite and NaN).
      
      These alarms are emitted for functions specified by -eva-warn-copy-indeterminate
      option, which is @all by default. These alarms can be disabled for some function
      by -eva-warn-copy-indeterminate=-f, in which case they are also disabled for
      the argument expressions of calls to [f].
      
      However:
      - the @all default value did not include functions without definition
        (for which a specification or a builtin is used).
      - 'indeterminate' alarms were emitted anyway for the arguments of calls to
        functions without definition, except for builtins.
      So no indeterminate alarms were emitted for the argument expressions of calls
      to builtins (unless their definitions were included).
      
      This commit fixes this behavior:
      the @all default of -eva-warn-copy-indeterminate option include all functions
      and special case for functions without definition or builtins are removed.
      
      It still avoids to emit surch alarms on Eva directives such as Frama_C_show_each.
      d80e4a34
  24. Oct 11, 2021
Loading