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

一种分析异常传播路径的方法
引用本文:闫大顺,姜淑娟.一种分析异常传播路径的方法[J].计算机工程,2008,34(8):50-52.
作者姓名:闫大顺  姜淑娟
作者单位:1. 仲恺农业技术学院计算机科学与工程学院,广州,510225
2. 中国矿业大学计算机科学与技术学院,徐州,221008
基金项目:国家自然科学基金 , 仲恺农业技术学院校基金 , 中国矿业大学校科研和教改项目
摘    要:异常的传播会给程序的分析、理解、测试和维护工作带来很多困难。为了解决目前在分析异常传播路径中表示方法过于复杂的问题,该文针对C++的异常机制建立异常控制流图模型,在分析异常在传播过程中各种关系的基础上建立异常传播图模型,并对异常传播图在结构测试中的应用进行讨论。使用该模型可以准确清晰地表示出异常传播的路径,大大简化异常传播路径的分析。

关 键 词:异常处理  程序分析  异常传播  控制流图
文章编号:1000-3428(2008)08-0050-03
修稿时间:2007年4月30日

Approach to Analyzing Exception Propagation Path
YAN Da-shun,JIANG Shu-juan.Approach to Analyzing Exception Propagation Path[J].Computer Engineering,2008,34(8):50-52.
Authors:YAN Da-shun  JIANG Shu-juan
Affiliation:(1. College of Computer Science and Engineering, Zhongkai University of Agricultural and Technology, Guangzhou 510225; 2. School of Computer Science & Technology, China University of Mining & Technology, Xuzhou 221008)
Abstract:Exception propagation will bring a lot of difficulties in analyzing, understanding, testing and maintaining programs. To solve the problem that the representation is too complex in describing exception propagation path, based on C++ exception handling, this paper proposes an exception control flow graph model. It constructs an exception propagation graph model based on analyzing various relationships in the course of exception propagation, and discusses the application of the exception propagation graph in the structure testing. Using this graph can show a clear and precise exception propagation path and greatly simplify the analysis.
Keywords:exception handling  program analysis  exception propagation  control flow graph
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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