C编译系统中断处理机制测试方法  被引量:2

Testing Method for Interrupt Handling Mechanism of C Compiling System

在线阅读下载全文

作  者:耿锐[1] 洪一[1] 黄光红[1] 

机构地区:[1]华东电子工程研究所,合肥230031

出  处:《微计算机信息》2011年第5期182-184,共3页Control & Automation

摘  要:处理器在实际工作中会面对大量异步中断,而编译系统生成的代码可能由于多种原因导致处理器在中断干扰下不能正确运行。本文根据中断嵌套的递归特性提出一种基于寄存器采样与比较的编译系统测试方法,着重考察代码在异步中断干扰下运行的正确性。该方法同时可用于错误诊断,能够高效实现错误定位。实际应用证明该方法能够有效揭示并定位编译系统存在的错误,是对已有编译系统测试方法的一个补充。Processor must react to interrupts from the outside world,but code generated by a compiling system may cause the system to not run correctly in such environment.According to the recursive nature of interrupt nesting,this paper proposes a testing method based on registers sampling and make a discussion on how to improve the efficiency of bug finding.The method is a supplement to normal testing methods and practical application demonstrated its efficiency.

关 键 词:编译器 软件测试 中断 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象