Posts: 11
Threads: 6
Joined: Apr 2013
Reputation:
0
I wonder if it has ever been specified a sort of equivalent MISRA C standard, always for safety-critical systems, but not embedded SW, rather running on host. For instance, Plant Monitoring and Air Traffic Management.
<t></t>
Posts: 632
Threads: 18
Joined: Jan 2006
Reputation:
1
The Vision of MISRA C states:
Quote:The MISRA C Guidelines define a subset of the C language in which the opportunity to make mistakes is either removed or reduced. ... {and} can also be used to develop any application with high integrity or high reliability requirements.
While the legacy of the automotive origin of MISRA C is that it is focused on Freestanding applications, there is nothing inherent that precludes its use in Hosted applications... other than some broad-reaching Rules in the Standard Library sections (21.x and 22.x) which restrict the use of stdio.h and signal.h and some features of stdlib.h - you will require Deviations if you need to use those features.
These restrictions are due the undefined, unspecified and implementation-defined behaviours prevalent in those parts of the Standard Library.
Existing work within the MISRA C Working Group is, however, looking at creating more targeted guidance to aid wider take-up.
Posted by and on behalf of the MISRA C Working Group
Posts: 11
Threads: 6
Joined: Apr 2013
Reputation:
0
Thanks for the reply: quite rewarding and interesting. Thanks for informing me if and when a more targeted guidance, to aid wider MISRA C take-up, is available.
<t></t>
Posts: 11
Threads: 6
Joined: Apr 2013
Reputation:
0
Thanks for the reply: quite rewarding and interesting. Thanks for informing me if and when a more targeted guidance, to aid wider MISRA C take-up, is available.
Posts: 11
Threads: 6
Joined: Apr 2013
Reputation:
0
Thanks for the reply: quite rewarding and interesting. Thanks for informing me if and when a more targeted guidance, to aid wider MISRA C take-up, is available.