摘要: 实现一种实时嵌入式软件测试工具的中间结构,描述中间结构的生成、存储、转换过程,给出生成类继承图、生成控制流图的实现代码。设计一个针对C/C++的解析器,对源码进行预处理,以实现由源码生成中间结构,并利用XSLT技术实现中间结构为后端应用提供的接口。
关键词:
嵌入式软件测试,
中间结构,
XSLT技术
Abstract: This paper designs and implements meta-structure of real-time embedded software test tool, describes the generation, storage and transformation process, and presents the codes of inheritance graph of class and control flow graph. By analyzing the software and technologies it used, this paper designs a parser for C/C++ to implement the transformation from source code to meta-structure. It implements the interface to get data from meta-structure by using XSLT.
Key words:
embedded software test,
meta-structure,
XSLT
中图分类号:
李晓龙, 陆建华, 沈雷, 罗西, 严少清. 嵌入式软件测试工具中间结构的设计与实现[J]. 计算机工程, 2010, 36(18): 46-48.
LI Xiao-Long, LIU Jian-Hua, CHEN Lei, LUO Xi, YAN Shao-Qing. Design and Implementation of Meta-structure of Embedded Software Test Tool[J]. Computer Engineering, 2010, 36(18): 46-48.