计算机科学 ›› 2009, Vol. 36 ›› Issue (8): 169-173.

• 软件工程与数据库技术 • 上一篇    下一篇

基于静态代码分析的自动化对象行为协议提取工具

黄洲,彭鑫,赵文耘   

  1. (复旦大学计算机科学技术学院 上海 200433)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家863计划(2007AA01Z125),国家自然科学基金(60703092),上海市重点学科建设项目(B114)资助。

Automatic Behavior Protocol Recovery Tool for Object-oriented Programs Based on Static Code Analysis

HUANG Zhou,PENG Xin,ZHAO Wen-yun   

  • Online:2018-11-16 Published:2018-11-16

摘要: 对象行为协议对于理解对象接口、正确实现模块集成以及类代码的复用都有着重要的意义。在前期工作中,提出了一种基于静态源代码分析的对象行为协议自动提取方法。该方法通过源代码分析获取对象(类)内部各接口方法之间直接和间接的依赖关系,然后在对象(类)内部依赖关系的基础上构建接口的状态机图。在此基础上,进一步介绍相应的支持工具,包括主要模块、各部分的主要实现技术等。

关键词: 面向对象,接口规范,抽象状态图,状态分析,逆向工程,工具

Abstract: Object behavior protocol is important for understanding object interfaces,correct module composition and reuse of classes. In the previous work,we proposed an antumotic method of extracting object behavior protocols based on static source code analysis. The method obtains direct and indirect dependencies between interfacing methods from source code, then constructs interface state diagrams based on intra class dependency relations. In this paper, we further presented the supporting tool for automatic behavior proptocol recovery, including the main tool modules, implementation techniques in each part.

Key words: Object oriented, Interface specification, Abstract state chart, State analysis, Reverse engineering, Supporting tool

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!