Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CERT C EXP46-C considered Out of Scope by MISRA C:2012 Addendum 3
#1
MISRA C:2012 Addendum 3 defines the coverage classification "Out of Scope" as "Aspects of behaviour are out of scope for C99 and are related to C11." Considering this definition, why is EXP46-C classified "Out of Scope"? It seems, there is no dependency of the rule to C11 at all.

I would actually argue that EXP46-C is covered by MISRA C:2012 essential type model explicitly and strong.
<t></t>
Reply
#2
Thank you for bringing this to our attention. The entry for EXP46-C is in error.

You are correct to say that rule EXP46-C "Do not use a bitwise operator with a Boolean-like operand"is covered by MISRA C:2012 rule 10.1 and should be classified as Explicit/Strong.
Posted by and on behalf of the MISRA C Working Group
Reply
#3
Thanks for the re-checking.

Are you planning an updated version of Addendum 3?
Is there a documentation of how MISRA came to their conclusions regarding the coverage decisions in Addendum3? I assume there is, so my question is more whether this is available publicly / on request?
<t></t>
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)