This release was only available as an integral part of Astrée 16.10.
Most of the supported MISRA rules can now be checked for without running
the runtime error analysis (skip-analysis=yes
):
skip-analysis
.controlling-invariant-expression
,
associated with MISRA-C:2004 rule 4.1 and MISRA-C:2012 rule 2.1,
provides a partial coverage for those rules without runtime error
analysis.uninitialized-variable-use
(rule 9.1 of both MISRA-C:2004 and MISRA-C:2012) checks
for missing initializers if the runtime error analysis
is disabled.error-information-unused | ⤙ | error-information-unused error-information-unused-computed |
shift-width | ⤙ | shift-width shift-width-constant |
essential-shift-width | ⤙ | essential-shift-width essential-shift-width-constant |
parameter-match | ⤙ | parameter-match parameter-match-computed |
boolean-invariant | ⤙ | boolean-invariant boolean-invariant-expression |
controlling-invariant | ⤙ | controlling-invariant controlling-invariant-expression |
max-arguments-macro
max-case-labels
max-condition-nesting
max-declarator-depth
max-declarator-nesting
max-enums
max-expression-nesting
max-externals
max-include-nesting
max-locals
max-logical-line-length
max-macros-defined
max-members
max-parameters
max-parameters-macro
max-statement-nesting
max-string-length
max-struct-nesting
parameters
switch-skipped-code
switch-clause-empty-compound
default: {}
type-compatibility
) and
MISRA-C:2012 Appendix 1 rule 21.15 (memory-function-compatible
).function-return-type
has been moved
from rule 8.1 to rule 8.2.evaluation-order
for rule 12.2
is now also performed in initializer expressions.M2012A1
followed by the MISRA rule number.switch-skipped-code
switch-clause-empty-compound
default: {}
for-loop-condition-sideeffect
for the case when the third expression of a for-loop is missing.
This affects rule 14.2.side-effect-in-initializer-list
for initializer lists with a single element.
This affects rule 13.1.evaluation-order
for rule 13.2
is now also performed in initializer expressions.function-return-type
has been moved
from rule 8.2 to rule 8.1._Bool
type.unary-assign-detachment
in combination with volatile variables.The checks for the MISRA-C:2004 rules 11.4 and 11.5 and for the MISRA-C:2012 rules 11.3, 11.6, 11.7, and 11.8 have been extended to cover implicit conversions.
pointer-qualifier-cast-implicit
inappropriate-pointer-cast-implicit
object-pointer-diff-cast-implicit
object-pointer-diff-cast-strict-implicit
cast-pointer-void-arithmetic | ⤙ | cast-pointer-void-arithmetic cast-pointer-void-arithmetic-implicit |
pointer-qualifier-cast-implicit
to rule 1.1./* comment1 *//* comment2 * comment2 continued */
analysis-run
fails.stop-parse-error-immediate=no
,
parse errors no longer stop the rule checking on preprocessed
files completely. Instead it is performed on all successfully parsed files.