期刊文献+

基于遗传算法的嵌入式软件中断过载动态检测 被引量:2

Dynamic detection of interrupt overloads in embedded software using a genetic algorithm
原文传递
导出
摘要 嵌入式软件需要处理大量中断。中断的随机特性导致越来越复杂的嵌入式系统测试困难。该文基于遗传算法的中断过载动态检测方法,使用均匀变异增加中断类型多样性,非均匀变异算法的使用提高了局部搜索能力;构造产生堆栈深度的中断执行序列测试中断处理的堆栈溢出错误。采用自主研发基于SPARC V8架构的Virtualsparc仿真平台进行中断过载仿真测试,实验表明:该方法可以快速检测堆栈中待处理的中断丢失率,随着堆栈深度的动态修改,大大降低了中断处理在堆栈里的丢失率,同时对中断过载进行定位来提高嵌入式软件中断缺陷检测效率。 Embedded software needs to deal with many interrupts,but random interrupts lead to test difficulties in embedded systems which are becoming more and more complicated.A method is given to enable dynamic detection of interrupt overloads based on a genetic algorithm.The algorithm handles diverse types of interrupts with non-uniform searches giving improved local searches to construct an interrupt handling sequence to generate the stack depth and detect stack overflow errors during interrupt execution.Tests on a SPARC V8 architecture Virtualsparc simulation platform show that this method quickly detects the loss rate of non-executed interrupts in the stack.Dynamic changes in the stack depth greatly reduce the interrupt overload loss rate with increased detection efficiency of interrupt faults in embedded software.
出处 《清华大学学报(自然科学版)》 EI CAS CSCD 北大核心 2011年第10期1363-1368,共6页 Journal of Tsinghua University(Science and Technology)
基金 国家自然科学基金资助项目(91018003) 中央高校基本科研业务费专项资金资助项目(1600-852007)
关键词 中断过载 堆栈溢出 遗传算法 interrupt overload stack overflow genetic algorithm
  • 相关文献

参考文献12

二级参考文献28

  • 1吴萍,陈意云,张健.多线程程序数据竞争的静态检测[J].计算机研究与发展,2006,43(2):329-335. 被引量:21
  • 2郑燕飞,李晖,陈克非.Buffer Overflow Detection on Binary Code[J].Journal of Shanghai Jiaotong university(Science),2006,11(2):224-229. 被引量:2
  • 3叶永青,李晖,郑燕飞,洪璇,郑东.基于二进制代码的缓冲区溢出检测研究[J].计算机工程,2006,32(18):141-143. 被引量:5
  • 4Evans D, Larochelle D. Improving Security Using Extensible Lightweight Static Analysis[J]. IEEE Software, 2002, 19(1): 42-51.
  • 5Ruwase O, Lam M S. A Practical Dynamic Buffer Overflow Detector[Z]. (2003-07-22). http://suif. stanford.edu/papers/tunji04. pdf.
  • 6Kleidermacher D N. Practical application of static analysis for embedded systems[ J ]. Ada User Journal,2008,29( 1 ) : 38-42.
  • 7Regehr J. Say not to stack overflow embedded systems design [ Z]. http:// www. embedded, com/columns/ technicalinsights/471018927 _requestid =440562#.
  • 8Dennis B, Niels D, Jens P. Static checking of interrupt- driven software [ C ]. The 23^rd International Conference on Software Engineering (ICSE) , Toronto, Canada , May 2001.
  • 9Regehr J, Alastair R, Kirk W. Eliminating stack overflow by abstract interpretation[ C ]. The 3^rd International Conference on Embedded Software (EMSOFT) , Philadelphia, PA,October 2003.
  • 10[2]Intel Corporation:Intel Architecture Software Developer's Manual Volume2:Instruction Set Reference,1999

共引文献31

同被引文献13

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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