中国科技核心期刊

中文核心期刊

CSCD来源期刊

空间控制技术与应用 ›› 2013, Vol. 39 ›› Issue (6): 53-57.doi: 10.3969/j.issn.1674-1579.2013.06.011

• 技术交流 • 上一篇    下一篇

航天器C语言软件常见编程错误分析及检测方法研究

  

  1. 北京控制工程研究所,北京 100190
  • 出版日期:2013-12-26 发布日期:2013-12-19
  • 基金资助:

    国家自然科学基金资助项目(F020208).

On Common Programming Errors of Spacecraft Software in C Language and Their Checking Methods

  1. Beijing Institute of Control Engineering, Beijing 100190,China
  • Online:2013-12-26 Published:2013-12-19

摘要: 基于软件第三方评测发现的问题,梳理并详细分析了在航天器C语言软件中6种常见编程错误.针对其中的软件安全漏洞提出了使用代码分析技术的检测方法,针对编程语言使用错误提出了通过制定编程规则并使用代码分析方法进行检测的解决方法.采用上述方法可以有效检测出上述6种常见编程错误,并可以用于检测软件的其他严重错误.

关键词: 航天器软件, C语言, 编程错误, 软件安全漏洞, 代码分析

Abstract: Based on the problems discovered in thirdparty software testing, 6 kinds of programming errors of spacecraft software in C language are listed and analyzed in detail. The code analysis technique is proposed to check the software safety vulnerability, and a new method is also proposed to constitute the safety programming rules and analyze the code by using code analysis method, based on the programming language using errors.By using these methods the above 6 kinds of common programming errors and other serious errors can be effectively checked.

Key words: spacecraft software, C language, programming error, safety vulnerability, code analysis

中图分类号: 

  • V439