嵌入式航天软件汇编代码覆盖测试方案  被引量:3

Novel Assembly-Language Code Coverage Testing Scheme for Embedded Aerospace Software

在线阅读下载全文

作  者:马云云 张弛[1] 王金波[1] 瞿跃龙 

机构地区:[1]中国科学院空间应用工程与技术中心,北京100094

出  处:《航天控制》2017年第5期68-73,共6页Aerospace Control

基  金:载人航天国家重大专项(Y6140511RN)

摘  要:从插桩策略、覆盖率收集方法 2个方面设计实现了一种汇编代码覆盖测试方案,解决了嵌入式航天软件汇编代码覆盖测试没有工具支持的问题。针对嵌入式系统资源紧张、时序相关性强的特点,在研究汇编语言指令结构的基础上,制定了一套基于比特位表征方式的汇编插桩策略;提出了一种基于JTAG接口的通用覆盖率数据收集方案,解决了覆盖信息输出通道受限问题。实验结果及工程应用实例证明了方案的有效性和可行性。An effective assembly-language code coverage testing scheme is designed and implemented to solve the problem that there is often no available tool supports assembly-language code coverage testing in the aerospace embedded system. This scheme consists of two parts by code instrumentation strategy and coverage data collection method. In view of the characteristics of embedded system,such as strict timing requirement and limited memory resources,a code instrumentation method with bit based coverage state information expression strategy is proposed on the basis of research on assembly instruction structure,and then a general assembly coverage information collection method by using JTAG interface is proposed to solve the problem of limited coverage output channel in embedded system. The experimental results and engineering practice shows that the scheme given is feasible and useful.

关 键 词:覆盖测试 软件测试 嵌入式软件 代码插装 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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