Skip to content
Snippets Groups Projects
  1. Jan 25, 2022
  2. Jan 20, 2022
  3. Jan 14, 2022
  4. Jan 06, 2022
  5. Dec 10, 2021
  6. 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
  7. Nov 02, 2021
  8. Oct 19, 2021
  9. Oct 13, 2021
  10. Oct 11, 2021
  11. Sep 30, 2021
  12. Sep 01, 2021
  13. Aug 26, 2021
  14. Jun 25, 2021
  15. Jun 10, 2021
  16. Jun 04, 2021
  17. Jun 01, 2021
  18. May 18, 2021
  19. May 12, 2021
  20. Apr 26, 2021
  21. Apr 07, 2021
  22. Mar 25, 2021
  23. Feb 04, 2021
  24. Nov 18, 2020
    • Andre Maroneze's avatar
      [Libc] remove obsolete attribute __FRAMA_C_MODEL__ · 616a0c6a
      Andre Maroneze authored
      Fixes #877.
      
      Nowadays, Metrics has option -metrics-no-libc to exclude definitions from
      the Frama-C standard library, which was the purpose of the __FRAMA_C_MODEL__.
      Also, several libc variables were lacking the attribute, leading to
      inconsistent results.
      616a0c6a
  25. Oct 13, 2020
  26. Sep 23, 2020
  27. Sep 17, 2020
  28. Jul 15, 2020
  29. Jun 03, 2020
  30. May 27, 2020
  31. Apr 30, 2020
Loading