- 34
- 0
- 约1.62万字
- 约 15页
- 2017-06-08 发布于河南
- 举报
安全第一的C语言编程规范(国外英文资料)
安全第一的C语言编程规范(国外英文资料)
Safety first C language programming specification
Authors: Chen Mengmeng, Shao Beibei, Tsinghua University
Source: microcontroller and embedded systems applications, 2006-4-6, 17:44:18
Editors note: C language is the main tool for embedded application development, but the C language is not specifically for the design of embedded system, embedded system is much more general computer systems have more stringent requirements on software security. In 1998, MISRA pointed out that there were 127 places where C seemed acceptable, but there were security risks. In 2004, MISRAs limit on C increased to 141.
The application of embedded system engineers use computer experts created by the C language, the application of embedded system has been developing rapidly, and MISRAC is the application of embedded system engineers make C language for embedded applications with. Nowadays, MISRA C has been accepted by more and more enterprises, and becomes the C language standard for embedded systems, especially for embedded systems with high security requirements. The software should conform to the MISRA standard.
From this period begin, this print will be divided into 6 period, learn with reader jointly MISRAC.
First, the C programming specification for safety first, a brief overview of MISRAC is given.
Second, the pitfalls of data typing introduces the specification of data definitions and methods of operation, focusing on the problem of implicit data type conversions.
Lecture 3: safety norms for pointers, structures and unions to analyze how to apply pointers, structures and unions safely and efficiently.
Fourth, prevent the uncontrolled expression. Analyze the bad usage habits of expressions, functions, declarations and definitions in MISRAC, so as to minimize all kinds of potential errors.
Fifth, accurate program flow control describes the standard practices for controlling expressions and program flow control in the C language.
Sixth, build a secure compiler env
您可能关注的文档
最近下载
- (高清版)C-H-T 9012-2011 基础地理信息数字成果数据组织及文件命名规则.pdf VIP
- Unit6 Numbers in life A let's learn(课件) 人教PEP版(2024)英语三年级下册.pptx VIP
- 2026年重庆高考物理考试卷及答案.docx VIP
- 2025年新疆高考语文试卷及答案.docx VIP
- 工程断裂力学课件.ppt
- 部编版六年级语文下册导学案(全册).docx VIP
- 大足石刻宝顶山景区讲解词(完整版).pdf VIP
- 最新2026年时事政治题单招标准卷.docx VIP
- 伟思医疗公司2019年财务分析研究报告.docx
- 外国名家哲理短文40篇重点.doc
原创力文档

文档评论(0)