Coding for high reliability/availability/security - what standards do I read?

前端 未结 6 706
轮回少年
轮回少年 2021-02-04 10:26

I\'ve heard that the automotive industry has something called MISRA C.

What are the relevant standards for other high reliability/availability/security industries, such

6条回答
  •  闹比i
    闹比i (楼主)
    2021-02-04 11:04

    Check out the Goddard Space Flight Center and its coding standards. One of the C standards, which I've adopted in my own code, is that headers must be self-contained, and they provide a simple way to enforce that -- a module's header must be the first file included in the module, so if the file is not self-contained, it won't compile.

提交回复
热议问题