首页 | 本学科首页   官方微博 | 高级检索  
     

基于覆盖测试的嵌入式软件自动裁剪
引用本文:蔡虹,沈雷,李永红. 基于覆盖测试的嵌入式软件自动裁剪[J]. 计算机工程, 2010, 36(1): 73-75
作者姓名:蔡虹  沈雷  李永红
作者单位:1. 华东计算技术研究所,上海,200233
2. 中国电子设备系统工程公司研究所,北京,100141
摘    要:针对软件移植嵌入式平台时的裁剪问题,提出一个通用的、自动化的裁剪方案。该方案基于覆盖测试思想,利用源代码静态分析技术,在每个函数的首尾插入桩代码,通过执行已插桩的程序,动态地获得函数的覆盖信息。根据函数的覆盖信息,能对软件进行自动化的裁剪。该裁剪方案可以将软件体积减少30%左右。

关 键 词:嵌入式软件  插桩  覆盖测试  裁剪
修稿时间: 

Automatic Tailoring for Embedded Software Based on Coverage Test
CAI Hong,SHEN Lei,LI Yong-hong. Automatic Tailoring for Embedded Software Based on Coverage Test[J]. Computer Engineering, 2010, 36(1): 73-75
Authors:CAI Hong  SHEN Lei  LI Yong-hong
Affiliation:(1. East China Institute of Computer Technology, Shanghai 200233; 2. Electronic Equipment System Engineering Institute, Beijing 100141)
Abstract:This paper gives a solution of a general way for automatic tailoring while transplanting a software to an embedded system. The solution is based on the technique of coverage test. It makes static analysis for the source code which is tailored, and inserts the stub code into the beginning and ending of each function. After instrumentation, it executes the code and gets the coverage information. It tailors those functions which are never used. Though this way, it can reduce the size of software by about 30%.
Keywords:embedded software  instrumentation  coverage test  tailoring
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号