| 注册
首页|期刊导航|计算机技术与发展|嵌入式软件静态测试方法研究

嵌入式软件静态测试方法研究

赵正旭 梅成芳 张强

计算机技术与发展2019,Vol.29Issue(3):64-68,5.
计算机技术与发展2019,Vol.29Issue(3):64-68,5.DOI:10.3969/j.issn.1673-629X.2019.03.013

嵌入式软件静态测试方法研究

Research on Static Testing Method of Embedded Software

赵正旭 1梅成芳 1张强1

作者信息

  • 1. 石家庄铁道大学 复杂网络与可视化研究所, 河北 石家庄 050043
  • 折叠

摘要

Abstract

The characteristics of embedded software determine its test focus is run-time detection, memory, security and so on. Moreover, C/C++, as the mainstream programming language of embedded software, has its own typical code defects:buffer overflow, array out of bounds, null point exception, memory leak and so on. In order to detect the defects of C/C++ code and take the test emphasis of embedded software into consideration, the static test method of embedded software is studied. After mastering the main functions and methods of the static testing tools of C/C++ language, C++Test and PC-Lint are used to test the source code of the same embedded software. The results of the two tests are contrasted and supplemented. The possibility of false negatives and false positives of code defects is reduced, and the testing efficiency is improved. The code defects hidden in the software are detected at the code writing stage, and the secure and reliable operation of the embedded software is ensured. The feasibility of the proposed static test method is verified.

关键词

嵌入式软件/静态测试/C++Test/PC-Lint

Key words

embedded software/static testing/C++Test/PC-Lint

分类

信息技术与安全科学

引用本文复制引用

赵正旭,梅成芳,张强..嵌入式软件静态测试方法研究[J].计算机技术与发展,2019,29(3):64-68,5.

基金项目

河北省第三批创新团队及领军人才"巨人计划"(冀办字[2018]33号) (冀办字[2018]33号)

计算机技术与发展

OACSTPCD

1673-629X

访问量0
|
下载量0
段落导航相关论文