Skip to content
Snippets Groups Projects
  1. Mar 10, 2022
  2. Feb 23, 2022
  3. Feb 18, 2022
  4. 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
  5. Feb 08, 2022
  6. Jan 26, 2022
  7. Jan 20, 2022
  8. Jan 14, 2022
  9. Dec 10, 2021
  10. 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
  11. Nov 02, 2021
  12. Oct 19, 2021
  13. Oct 13, 2021
  14. Oct 12, 2021
  15. Oct 11, 2021
  16. Sep 24, 2021
  17. Sep 01, 2021
  18. Aug 26, 2021
  19. Jul 27, 2021
  20. Jun 25, 2021
  21. Jun 22, 2021
  22. Jun 21, 2021
  23. Jun 16, 2021
Loading