期刊文献+

基于文法简化和语句深度的静态结构模型嵌入式软件分析 被引量:1

Analysis of Embedded Software Based on Static Model with Simplified Grammar and Sentence Depth
下载PDF
导出
摘要 提出了一种基于文法简化和配合语句深度的静态结构模型的嵌入式软件分析方法。该方法设计了文法简化的词法分析和配合语句深度的语法分析,结合控制流/数据流分析,对嵌入式软件进行分析。以智能电能表开源软件作为案例,进行了30次实验,将人为插入的错误代码作为验证对象,同PC-Lint和Splint测试工具进行对比,本方法能够正确分析的概率为91%,介于PC-Lint的95%和Splint的90%之间。该方法在解决了编译器对嵌入式平台不兼容问题以及保障正确率的情况下,提高了测试的效率。实验结果证明本方法适用于通过编译的C(含嵌入式)程序。 In order to solve the problem that the embedded software has the shortcoming of the platform dependence,this paper presented an embedded software analysis method based on the static structure model.Before control flow and data flow analysis,a lexical analysis/syntax analysis method with simplified grammar and sentence depth was designed to analyze the embedded software.This paper used the open source software of smart meters as a case,and used the artificial errors as the test objects,repeated 30 times.Compared with the popular static analyzing tools PC-Lint and Splint,the method can accurately orient 91% errors,which is between PC-Lint's 95% and Splint's 90%.The result indicates that the correct rate of our method is acceptable.Meanwhile,by removing the platform-dependent operation with simplified syntax analysis,our method is independent of development environment.It also shows that the method is applicable to the compiled C(including embedded software)program.
出处 《计算机科学》 CSCD 北大核心 2016年第S2期490-494,共5页 Computer Science
基金 国网天津电力公司项目(KJ15-1-32)资助
关键词 嵌入式系统 静态结构模型 软件分析 Embedded system Static structure model Software analysis
  • 相关文献

参考文献4

二级参考文献25

  • 1FUJIWARA H, SHIMONO T. On the acceleration of test generation algorithms [ J ]. IEEE Transactions on Communications, 1983, 30(3) :215 - 222.
  • 2GOEL P. An implicit enumeration algorithm to generate tests for combinational logic circuits[ J ]. IEEE Transactions on Computers, 1981, C - 30 (3) :215 - 222.
  • 3LOMELINO D, LYER R K. Error propagation in a digital avionic processor: A simulation-based study[ C ]// Proc Real Time System Symp. New Orleans: [ s. n. ] , 1986:218 - 225.
  • 4VOAS P J. A dynamic failure-based techniques [ J ]. IEEE Transactions on Software Engineering, 1992, 18 (8) :717 -727.
  • 5MILLER M, JHUMKA A, SURI N. EPIC:Profiling the propagation and effect of data errors in software [ J ]. IEEE Trans on Computers, 2004, 53 (5) :512 -530.
  • 6POPIC P, DESOVSKI D, MOEZ W A, et al. Error propagation in the reliability analysis of component based systems [ C ]//The16th IEEE Transactions on Software Reliability Engineering( ISSRE' 05 ). Chicago : [ s. n. ] , 2005:53 - 62.
  • 7ARLAT. Fault injection for dependability validation: Amethodology and some applications [ J ]. IEEE Trans Software Engineering, 1990,16(2) : 166 - 182.
  • 8KANAWATI G, LANAWATI N, ABRAHAM J. FERRARI: A tool for the validation of system dependability propeties [ J ]. Digest of Papers, 1992, FTCS - 22 : 336 -344.
  • 9刘超,金茂忠.软件测试过程的基本模型POCERM[J].北京航空航天大学学报,1997,23(1):56-60. 被引量:24
  • 10[2]Pressman R S. Software Engineering, A Practitioner's Approach. New York: McGraw-Hill, Inc. , 1997

共引文献16

同被引文献2

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部