中国科技核心期刊

中文核心期刊

CSCD来源期刊

空间控制技术与应用 ›› 2021, Vol. 47 ›› Issue (2): 1-9.doi: 10.3969/j.issn.1674-1579.2021.02.001

• 论文与报告 •    下一篇

航天嵌入式软件数组越界缺陷特征研究

  

  1. 北京轩宇信息技术有限公司
  • 出版日期:2021-04-10 发布日期:2021-04-19
  • 基金资助:
    国家自然科学基金资助项目(61802017)

OutofBounds Array Access Bug Characteristics in Aerospace Embedded Software

  • Online:2021-04-10 Published:2021-04-19

摘要: 根据统计,数组越界是航天嵌入式软件开发过程中出现最多且最容易被遗漏的缺陷类型之一.目前自动化检测数组越界多基于抽象解释、符号执行、程序模型检验等方法,这些方法在误报、漏报、可扩展性等方面的表现依赖于软件及缺陷特征.分析了近三年航天嵌入式软件第三方测试中发现的94个数组越界问题,从缺陷模式和缺陷表现形式两方面分析得出10项航天嵌入式软件数组越界缺陷特征,并提出对设计具体检测方法关键的若干启示.进一步基于这些特征和启示探讨了数组越界检测算法针对中断驱动型程序的改进方向.

关键词: 航天嵌入式软件, 数组越界, 程序分析, 中断驱动型程序

Abstract: According to statistics, outofbounds array access is one of the most common and easily missed bugs in aerospace embedded software. At present, program analysis methods for automatically detecting outofbounds array access mostly base on abstract interpretation theory, symbolic execution, model checking and etc. The performances of these methods in false positives, false negatives, and extensibility and so on mainly rely on the characteristics of the software and defects. Therefore, we firstly analyze 94 real world outofbounds array access errors in recent 3 years, which are from aerospace embedded software left to the thirdparty testing part. We carefully examine the bug pattern and manifestation of these bugs, and extract 10 characteristics about the outofbounds array access errors in aerospace embedded software, as well as some important implications. According to these characteristics and implications, we explore the improvement of detection methods for outofbounds array access with respect to interruptdriven programs.

Key words: aerospace embedded software, outofbounds array access, program analysis,

中图分类号: 

  • TP399