基于覆盖测试的嵌入式软件自动裁剪  被引量:6

Automatic Tailoring for Embedded Software Based on Coverage Test

在线阅读下载全文

作  者:蔡虹[1] 沈雷[1] 李永红 

机构地区:[1]华东计算技术研究所,上海200233 [2]中国电子设备系统工程公司研究所,北京100141

出  处:《计算机工程》2010年第1期73-75,共3页Computer Engineering

摘  要:针对软件移植嵌入式平台时的裁剪问题,提出一个通用的、自动化的裁剪方案。该方案基于覆盖测试思想,利用源代码静态分析技术,在每个函数的首尾插入桩代码,通过执行已插桩的程序,动态地获得函数的覆盖信息。根据函数的覆盖信息,能对软件进行自动化的裁剪。该裁剪方案可以将软件体积减少30%左右。This paper gives a solution of a general way for automatic tailoring while transplanting a software to an embedded systeln. 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%.

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

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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