- Feb 15, 2022
-
-
Andre Maroneze authored
-
Andre Maroneze authored
Frama-C does not yet support _Alignof and _Alignas, but this header helps parsing code and emitting a proper error message.
-
- Feb 09, 2022
-
-
Andre Maroneze authored
-
Andre Maroneze authored
The ambiguous regex led to behavioral differences under a musl-based libc, such as in Frama-C's Docker images. The new regex is longer, but avoids the issue.
-
- Feb 08, 2022
-
-
Andre Maroneze authored
-
Andre Maroneze authored
-
- Jan 25, 2022
-
-
Andre Maroneze authored
-
Andre Maroneze authored
-
Andre Maroneze authored
-
- Jan 20, 2022
-
-
- Jan 14, 2022
-
-
Andre Maroneze authored
-
Andre Maroneze authored
-
Andre Maroneze authored
-
- Jan 13, 2022
-
-
Allan Blanchard authored
- Info (expr_node) - IndexPI (PlusPI synonym)
-
- Jan 06, 2022
-
-
Patrick Baudin authored
-
- Dec 21, 2021
-
-
Patrick Baudin authored
-
- Dec 10, 2021
-
-
Andre Maroneze authored
-
- Dec 03, 2021
-
-
Patrick Baudin authored
-
Patrick Baudin authored
-
- Nov 24, 2021
-
-
Allan Blanchard authored
-
- Nov 18, 2021
-
-
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.
-
- Nov 02, 2021
-
-
- Oct 19, 2021
-
-
Andre Maroneze authored
-
Andre Maroneze authored
-
Andre Maroneze authored
-
Andre Maroneze authored
-
Andre Maroneze authored
-
-
-
- Oct 13, 2021
-
-
Andre Maroneze authored
-
- Oct 12, 2021
-
-
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.
-
- Oct 11, 2021
-
-
David Bühler authored
The preconditions generated in place of behaviors leading to NaN or infinite floating-point values are now named.
-
-
-
The Linux manpage for tan states that only a floating-point exception (FE_OVERFLOW) occurs in case of result overflow, but the POSIX manpage mentions that errno can be set to ERANGE.
-
-
-
- Oct 05, 2021
-
-
Patrick Baudin authored
-
- Sep 30, 2021
-
-
- Sep 02, 2021
-
-
Andre Maroneze authored
-